summaryrefslogtreecommitdiff
path: root/app/views/admin/application_settings/_repository_mirrors_form.html.haml
blob: 187c6c28bb1f3a7bfe55f411047b3d038b1586f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
= form_for @application_setting, url: admin_application_settings_path do |f|
  = 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')

  = f.submit 'Save changes', class: "btn btn-success"