Commit 9eb7fe6d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix admin user errors ui

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 761fbbfe
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment