Initialize form validation on new group form.

This commit is contained in:
Bryce Johnson 2016-11-02 11:47:54 +01:00
parent b351b26693
commit b8b3f919fd
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
New Group
%hr
= form_for @group, html: { class: 'group-form form-horizontal' } do |f|
= form_for @group, html: { class: 'group-form form-horizontal gl-show-field-errors' } do |f|
= form_errors(@group)
= render 'shared/group_form', f: f, autofocus: true