diff options
author | Dennis Tang | OOO until 18.06 <dennis@dennistang.net> | 2018-06-13 10:40:55 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-06-13 10:40:55 +0300 |
commit | bda253ff5abec6ddd9f00672dd75b45affdaac48 (patch) | |
tree | 518abef2167db5b8e11a136e993c620bce2edaec /app/views/admin/application_settings/_repository_mirrors_form.html.haml | |
parent | fba123a329f44ed80bbf71feb639dab9afc13d6f (diff) |
Resolve "Use one column form layout on Admin Area Settings page"
Diffstat (limited to 'app/views/admin/application_settings/_repository_mirrors_form.html.haml')
-rw-r--r-- | app/views/admin/application_settings/_repository_mirrors_form.html.haml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/app/views/admin/application_settings/_repository_mirrors_form.html.haml b/app/views/admin/application_settings/_repository_mirrors_form.html.haml index 187c6c28bb1..beeb5169361 100644 --- a/app/views/admin/application_settings/_repository_mirrors_form.html.haml +++ b/app/views/admin/application_settings/_repository_mirrors_form.html.haml @@ -2,15 +2,14 @@ = form_errors(@application_setting) %fieldset - .form-group.row - = f.label :mirror_available, 'Enable mirror configuration', class: 'control-label col-sm-4' - .col-sm-8 - .form-check - = f.check_box :mirror_available, class: 'form-check-input' - = f.label :mirror_available, class: 'form-check-label' do - Allow mirrors to be setup for projects - %span.form-text.text-muted - If disabled, only admins will be able to setup mirrors in projects. - = link_to icon('question-circle'), help_page_path('workflow/repository_mirroring') + .form-group + = f.label :mirror_available, 'Enable mirror configuration', class: 'label-light' + .form-check + = f.check_box :mirror_available, class: 'form-check-input' + = f.label :mirror_available, class: 'form-check-label' do + Allow mirrors to be setup for projects + %span.form-text.text-muted + If disabled, only admins will be able to setup mirrors in projects. + = link_to icon('question-circle'), help_page_path('workflow/repository_mirroring') = f.submit 'Save changes', class: "btn btn-success" |