Commit 8ec69284 authored by PaytonBurdette's avatar PaytonBurdette Committed by Andrew Fontaine

Remove form check class

parent b1107c11
......@@ -3,7 +3,6 @@
%fieldset
.form-group
.form-check
= f.gitlab_ui_checkbox_component :gravatar_enabled, _('Gravatar enabled')
.form-group
......@@ -36,11 +35,9 @@
.form-group
= f.label :user_oauth_applications, _('User OAuth applications'), class: 'label-bold'
.form-check
= f.gitlab_ui_checkbox_component :user_oauth_applications, _('Allow users to register any application to use GitLab as an OAuth provider')
.form-group
= f.label :user_default_external, _('New users set to external'), class: 'label-bold'
.form-check
= f.gitlab_ui_checkbox_component :user_default_external, _('Newly-registered users are external by default')
.gl-mt-3
= _('Internal users')
......@@ -51,7 +48,6 @@
- unless Gitlab.com?
.form-group
= f.label :deactivate_dormant_users, _('Dormant users'), class: 'label-bold'
.form-check
- dormant_users_help_link = help_page_path('user/admin_area/moderate_users', anchor: 'automatically-deactivate-dormant-users')
- dormant_users_help_link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: dormant_users_help_link }
= f.gitlab_ui_checkbox_component :deactivate_dormant_users, _('Deactivate dormant users after 90 days of inactivity'), help_text: _('Users can reactivate their account by signing in. %{link_start}Learn more%{link_end}').html_safe % { link_start: dormant_users_help_link_start, link_end: '</a>'.html_safe }
......@@ -60,7 +56,6 @@
= f.text_field :personal_access_token_prefix, placeholder: _('Maximum 20 characters'), class: 'form-control gl-form-input'
.form-group
= f.label :user_show_add_ssh_key_message, _('Prompt users to upload SSH keys'), class: 'label-bold'
.form-check
= f.gitlab_ui_checkbox_component :user_show_add_ssh_key_message, _("Inform users without uploaded SSH keys that they can't push over SSH until one is added")
= render_if_exists 'admin/application_settings/updating_name_disabled_for_users', form: f
......
......@@ -3,5 +3,4 @@
- form = local_assigns.fetch(:form)
.form-group
.form-check
= form.gitlab_ui_checkbox_component :enforce_pat_expiration, _('Enforce personal access token expiration')
......@@ -3,5 +3,4 @@
- form = local_assigns.fetch(:form)
.form-group
.form-check
= form.gitlab_ui_checkbox_component :enforce_ssh_key_expiration, _('Enforce SSH key expiration')
......@@ -4,5 +4,4 @@
.form-group
= form.label :updating_name_disabled_for_users, _('User restrictions'), class: 'label-bold'
.form-check
= form.gitlab_ui_checkbox_component :updating_name_disabled_for_users, _("Prevent users from changing their profile name")
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