summaryrefslogtreecommitdiff
path: root/app/views/admin/groups
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-31 16:34:14 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-31 16:34:14 +0200
commitd7a48443ce3dae559726de4d9f5ce358877bfbcd (patch)
tree8201828bafc9c8267816a37038af72d72288ffb2 /app/views/admin/groups
parentb563312c2f59c04d535aa798e5cdfa8596f22dee (diff)
downloadgitlab-ce-d7a48443ce3dae559726de4d9f5ce358877bfbcd.tar.gz
alert-error to alert-danger
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/admin/groups')
-rw-r--r--app/views/admin/groups/edit.html.haml2
-rw-r--r--app/views/admin/groups/new.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/groups/edit.html.haml b/app/views/admin/groups/edit.html.haml
index 8183454c763..e68c97e2c59 100644
--- a/app/views/admin/groups/edit.html.haml
+++ b/app/views/admin/groups/edit.html.haml
@@ -2,7 +2,7 @@
%hr
= form_for [:admin, @group] do |f|
- if @group.errors.any?
- .alert.alert-error
+ .alert.alert-danger
%span= @group.errors.full_messages.first
.form-group.group_name_holder
= f.label :name do
diff --git a/app/views/admin/groups/new.html.haml b/app/views/admin/groups/new.html.haml
index 301e9a61cbf..644879c65e4 100644
--- a/app/views/admin/groups/new.html.haml
+++ b/app/views/admin/groups/new.html.haml
@@ -2,7 +2,7 @@
%hr
= form_for [:admin, @group] do |f|
- if @group.errors.any?
- .alert.alert-error
+ .alert.alert-danger
%span= @group.errors.full_messages.first
.form-group
= f.label :name do