_repository_mirrors_form.html.haml 685 Bytes
Newer Older
1
= form_for @application_setting, url: admin_application_settings_path 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
10
11
12
13
      .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')
14
15

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