_repository_mirrors_form.html.haml 717 Bytes
Newer Older
1
= form_for @application_setting, url: admin_application_settings_path(anchor: 'js-mirror-settings') do |f|
2
3
4
  = form_errors(@application_setting)

  %fieldset
5
    .form-group
6
      = f.label :mirror_available, 'Enable mirror configuration', class: 'label-bold'
7
8
9
      .form-check
        = f.check_box :mirror_available, class: 'form-check-input'
        = f.label :mirror_available, class: 'form-check-label' do
10
          Allow mirrors to be set up for projects
11
      %span.form-text.text-muted
12
        If disabled, only admins will be able to set up mirrors in projects.
13
        = link_to icon('question-circle'), help_page_path('workflow/repository_mirroring')
14
15

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