Replace remaining .radio and .checkbox with .form-check
This commit is contained in:
parent
0a947fb261
commit
53965b8fc1
3 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
.form-group
|
||||
= f.label :mirror_available, 'Enable mirror configuration', class: 'control-label col-sm-2'
|
||||
.col-sm-10
|
||||
.checkbox
|
||||
.form-check
|
||||
= f.label :mirror_available do
|
||||
= f.check_box :mirror_available
|
||||
Allow mirrors to be setup for projects
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
%fieldset
|
||||
.form-group
|
||||
.col-sm-12
|
||||
.checkbox
|
||||
.form-check
|
||||
= f.label :enforce_terms do
|
||||
= f.check_box :enforce_terms
|
||||
= _("Require all users to accept Terms of Service when they access GitLab.")
|
||||
|
|
|
@ -10,21 +10,21 @@
|
|||
%p.settings-message.text-center
|
||||
= message.html_safe
|
||||
= f.fields_for :auto_devops_attributes, @auto_devops do |form|
|
||||
.radio
|
||||
.form-check
|
||||
= form.label :enabled_true do
|
||||
= form.radio_button :enabled, 'true'
|
||||
%strong= s_('CICD|Enable Auto DevOps')
|
||||
%br
|
||||
= s_('CICD|The Auto DevOps pipeline configuration will be used when there is no %{ci_file} in the project.').html_safe % { ci_file: ci_file_formatted }
|
||||
|
||||
.radio
|
||||
.form-check
|
||||
= form.label :enabled_false do
|
||||
= form.radio_button :enabled, 'false'
|
||||
%strong= s_('CICD|Disable Auto DevOps')
|
||||
%br
|
||||
= s_('CICD|An explicit %{ci_file} needs to be specified before you can begin using Continuous Integration and Delivery.').html_safe % { ci_file: ci_file_formatted }
|
||||
|
||||
.radio
|
||||
.form-check
|
||||
= form.label :enabled_ do
|
||||
= form.radio_button :enabled, ''
|
||||
%strong= s_('CICD|Instance default (%{state})') % { state: "#{Gitlab::CurrentSettings.auto_devops_enabled? ? _('enabled') : _('disabled')}" }
|
||||
|
|
Loading…
Reference in a new issue