diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-11 21:05:57 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-11 21:05:57 +0300 |
commit | df8aa61a94b8e70526fb78aed75ada1e390c7ce1 (patch) | |
tree | 0c0d0183cc38bbd815eb1d3c2f271d2481d41589 /app/views/groups/_group_admin_settings.html.haml | |
parent | b95d76d217ad5a99093c2e10ac4a9289200dad48 (diff) |
[skip ci] Convert .checkbox to .form-check
Diffstat (limited to 'app/views/groups/_group_admin_settings.html.haml')
-rw-r--r-- | app/views/groups/_group_admin_settings.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/groups/_group_admin_settings.html.haml b/app/views/groups/_group_admin_settings.html.haml index 2ace1e2dd1e..5f9650d6a52 100644 --- a/app/views/groups/_group_admin_settings.html.haml +++ b/app/views/groups/_group_admin_settings.html.haml @@ -2,7 +2,7 @@ .form-group = f.label :lfs_enabled, 'Large File Storage', class: 'control-label' .col-sm-10 - .checkbox + .form-check = f.label :lfs_enabled do = f.check_box :lfs_enabled, checked: @group.lfs_enabled? %strong @@ -15,7 +15,7 @@ .form-group = f.label :require_two_factor_authentication, 'Two-factor authentication', class: 'control-label col-sm-2' .col-sm-10 - .checkbox + .form-check = f.label :require_two_factor_authentication do = f.check_box :require_two_factor_authentication %strong @@ -23,6 +23,6 @@ = link_to icon('question-circle'), help_page_path('security/two_factor_authentication', anchor: 'enforcing-2fa-for-all-users-in-a-group') .form-group .col-sm-offset-2.col-sm-10 - .checkbox + .form-check = f.text_field :two_factor_grace_period, class: 'form-control' .help-block Amount of time (in hours) that users are allowed to skip forced configuration of two-factor authentication |