summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-20 16:21:30 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-20 16:21:30 +0300
commit9eb7fe6d06f39cc011fa9ee3cc8b137d60f5d90e (patch)
treef2e15df918265bf25a1eb884a9df1a6eeebb60cd
parent761fbbfeea5653e8d01e2d3d7fc936031ad39385 (diff)
downloadgitlab-ce-9eb7fe6d06f39cc011fa9ee3cc8b137d60f5d90e.tar.gz
Fix admin user errors ui
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/views/admin/users/_form.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/users/_form.html.haml b/app/views/admin/users/_form.html.haml
index 881a043f36f..b9e6382ea88 100644
--- a/app/views/admin/users/_form.html.haml
+++ b/app/views/admin/users/_form.html.haml
@@ -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