Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-20 17:21:30 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-20 17:21:30 +0400
commit9eb7fe6d06f39cc011fa9ee3cc8b137d60f5d90e (patch)
treef2e15df918265bf25a1eb884a9df1a6eeebb60cd /app
parent761fbbfeea5653e8d01e2d3d7fc936031ad39385 (diff)
Fix admin user errors ui
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-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