_repository_mirrors_form.html.haml 731 Bytes
Newer Older
1
= form_for @application_setting, url: admin_application_settings_path do |f|
2
3
4
  = form_errors(@application_setting)

  %fieldset
5
6
7
    .form-group.row
      = f.label :mirror_available, 'Enable mirror configuration', class: 'control-label col-sm-4'
      .col-sm-8
8
        .form-check
9
10
          = f.check_box :mirror_available, class: 'form-check-input'
          = f.label :mirror_available, class: 'form-check-label' do
11
            Allow mirrors to be setup for projects
12
        %span.form-text.text-muted
13
14
15
16
          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"