Fix admin user errors ui
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
761fbbfeea
commit
9eb7fe6d06
1 changed files with 2 additions and 2 deletions
|
@ -2,9 +2,9 @@
|
|||
= form_for [:admin, @user], html: { class: 'form-horizontal' } do |f|
|
||||
-if @user.errors.any?
|
||||
#error_explanation
|
||||
%ul.unstyled.alert.alert-danger
|
||||
.alert.alert-danger
|
||||
- @user.errors.full_messages.each do |msg|
|
||||
%li= msg
|
||||
%p= msg
|
||||
|
||||
%fieldset
|
||||
%legend Account
|
||||
|
|
Loading…
Reference in a new issue