Commit 9eb7fe6d06f39cc011fa9ee3cc8b137d60f5d90e
1 parent
761fbbfe
Exists in
spb-stable
and in
2 other branches
Fix admin user errors ui
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/views/admin/users/_form.html.haml
... | ... | @@ -2,9 +2,9 @@ |
2 | 2 | = form_for [:admin, @user], html: { class: 'form-horizontal' } do |f| |
3 | 3 | -if @user.errors.any? |
4 | 4 | #error_explanation |
5 | - %ul.unstyled.alert.alert-danger | |
5 | + .alert.alert-danger | |
6 | 6 | - @user.errors.full_messages.each do |msg| |
7 | - %li= msg | |
7 | + %p= msg | |
8 | 8 | |
9 | 9 | %fieldset |
10 | 10 | %legend Account | ... | ... |