summaryrefslogtreecommitdiff
path: root/app/views/groups/new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/groups/new.html.haml')
-rw-r--r--app/views/groups/new.html.haml5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/groups/new.html.haml b/app/views/groups/new.html.haml
index 30ab8aeba13..2b8bc269e64 100644
--- a/app/views/groups/new.html.haml
+++ b/app/views/groups/new.html.haml
@@ -6,10 +6,7 @@
%hr
= form_for @group, html: { class: 'group-form 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, autofocus: true
.form-group.group-description-holder