Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_repository_mirrors_form.html.haml « application_settings « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 615aa6317b0221ffbbd5cb4452d87517d138ddf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
= form_for @application_setting, url: admin_application_settings_path(anchor: 'js-mirror-settings') do |f|
  = form_errors(@application_setting)

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

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