Commit b7f6f96a authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix group settings layout

parent 7c8fda2e
.form-group .form-group.row
= f.label :lfs_enabled, 'Large File Storage', class: 'col-form-label' = f.label :lfs_enabled, 'Large File Storage', class: 'col-form-label col-sm-2'
.col-sm-10 .col-sm-10
.form-check .form-check
= f.label :lfs_enabled do = f.label :lfs_enabled do
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
%br/ %br/
%span.descr This setting can be overridden in each project. %span.descr This setting can be overridden in each project.
.form-group .form-group.row
= f.label :require_two_factor_authentication, 'Two-factor authentication', class: 'col-form-label col-sm-2' = f.label :require_two_factor_authentication, 'Two-factor authentication', class: 'col-form-label col-sm-2'
.col-sm-10 .col-sm-10
.form-check .form-check
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
%strong %strong
Require all users in this group to setup Two-factor authentication Require all users in this group to setup Two-factor authentication
= link_to icon('question-circle'), help_page_path('security/two_factor_authentication', anchor: 'enforcing-2fa-for-all-users-in-a-group') = link_to icon('question-circle'), help_page_path('security/two_factor_authentication', anchor: 'enforcing-2fa-for-all-users-in-a-group')
.form-group .form-group.row
.col-sm-offset-2.col-sm-10 .offset-sm-2.col-sm-10
.form-check .form-check
= f.text_field :two_factor_grace_period, class: 'col-form-label' = f.text_field :two_factor_grace_period, class: 'form-control'
.form-text.text-muted Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication .form-text.text-muted Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
= render 'shared/allow_request_access', form: f = render 'shared/allow_request_access', form: f
.form-group.row .form-group.row
%label.col-form-label %label.col-form-label.col-sm-2
= s_("GroupSettings|Share with group lock") = s_("GroupSettings|Share with group lock")
.col-sm-10 .col-sm-10
.form-check .form-check
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment