remove old alert messages

This commit is contained in:
Dmitriy Zaporozhets 2013-01-30 16:53:18 +02:00
parent e2fb18a3ec
commit b742f47e89
35 changed files with 42 additions and 36 deletions

View file

@ -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