summaryrefslogtreecommitdiff
path: root/app/views/admin/application_settings/_repository_mirrors_form.html.haml
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-06-01 12:12:18 +0100
committerPhil Hughes <me@iamphill.com>2018-06-01 12:12:18 +0100
commit9ffb60acd8ab646eabfa32e6faaa3802c2aef2a6 (patch)
tree71322166368986c869e5607ec9f2f1066d0c4e3e /app/views/admin/application_settings/_repository_mirrors_form.html.haml
parent8868c919a3c798f7d5753e250723df6d285de7b0 (diff)
parente206e32881e4fbfcbe647d7b2ee713c99ef1bf99 (diff)
downloadgitlab-ce-9ffb60acd8ab646eabfa32e6faaa3802c2aef2a6.tar.gz
Merge branch 'master' into ide-list-merge-requests
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.haml12
1 files changed, 6 insertions, 6 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 edd8e5e9eb8..187c6c28bb1 100644
--- a/app/views/admin/application_settings/_repository_mirrors_form.html.haml
+++ b/app/views/admin/application_settings/_repository_mirrors_form.html.haml
@@ -1,13 +1,13 @@
-= form_for @application_setting, url: admin_application_settings_path, html: { class: 'form-horizontal fieldset-form' } do |f|
+= form_for @application_setting, url: admin_application_settings_path do |f|
= form_errors(@application_setting)
%fieldset
- .form-group
- = f.label :mirror_available, 'Enable mirror configuration', class: 'control-label col-sm-2'
- .col-sm-10
+ .form-group.row
+ = f.label :mirror_available, 'Enable mirror configuration', class: 'control-label col-sm-4'
+ .col-sm-8
.form-check
- = f.label :mirror_available do
- = f.check_box :mirror_available
+ = 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.