remove old alert messages
This commit is contained in:
parent
e2fb18a3ec
commit
b742f47e89
35 changed files with 42 additions and 36 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
= form_for @hook, as: :hook, url: admin_hooks_path, html: { class: 'form-inline' } do |f|
|
||||
-if @hook.errors.any?
|
||||
.alert-message.block-message.error
|
||||
.alert.alert-error
|
||||
- @hook.errors.full_messages.each do |msg|
|
||||
%p= msg
|
||||
.clearfix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue