summaryrefslogtreecommitdiff
path: root/app/views/admin/groups/_form.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/groups/_form.html.haml')
-rw-r--r--app/views/admin/groups/_form.html.haml5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/admin/groups/_form.html.haml b/app/views/admin/groups/_form.html.haml
index 7f2b1cd235d..0cc405401cf 100644
--- a/app/views/admin/groups/_form.html.haml
+++ b/app/views/admin/groups/_form.html.haml
@@ -1,8 +1,5 @@
= form_for [:admin, @group], html: { class: "form-horizontal" } do |f|
- - if @group.errors.any?
- .alert.alert-danger
- %span= @group.errors.full_messages.first
-
+ = form_errors(@group)
= render 'shared/group_form', f: f
.form-group.group-description-holder