diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-18 19:43:53 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-18 19:43:53 +0300 |
commit | 7ae993aedf6fa197350c5480488748fcc53222ba (patch) | |
tree | 42945373cd7daa07db2f6c3a5e8798f57d68d9a4 /app/views/shared/_group_form.html.haml | |
parent | ade61c9676066bd22b0aa2639bdf4888d5c0e94a (diff) |
Fix new group form
Diffstat (limited to 'app/views/shared/_group_form.html.haml')
-rw-r--r-- | app/views/shared/_group_form.html.haml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/shared/_group_form.html.haml b/app/views/shared/_group_form.html.haml index 51e80d1964c..092d9fdb675 100644 --- a/app/views/shared/_group_form.html.haml +++ b/app/views/shared/_group_form.html.haml @@ -2,8 +2,8 @@ - group_path = root_url - group_path << parent.full_path + '/' if parent -.form-group - = f.label :path, class: 'col-form-label' do +.form-group.row + = f.label :path, class: 'col-form-label col-sm-2' do Group path .col-sm-10 .input-group.gl-field-error-anchor @@ -25,16 +25,16 @@ = succeed '.' do = link_to 'Learn more', help_page_path('user/group/index', anchor: 'changing-a-groups-path'), target: '_blank' -.form-group.group-name-holder - = f.label :name, class: 'col-form-label' do +.form-group.row.group-name-holder + = f.label :name, class: 'col-form-label col-sm-2' do Group name .col-sm-10 = f.text_field :name, class: 'form-control', required: true, title: 'You can choose a descriptive name different from the path.' -.form-group.group-description-holder - = f.label :description, class: 'col-form-label' +.form-group.row.group-description-holder + = f.label :description, class: 'col-form-label col-sm-2' .col-sm-10 = f.text_area :description, maxlength: 250, class: 'form-control js-gfm-input', rows: 4 |