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: 869f26ceb1067fd7d796047e5dd7596189f60400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
= gitlab_ui_form_for @application_setting, url: repository_admin_application_settings_path(anchor: 'js-mirror-settings') do |f|
  = form_errors(@application_setting)

  %fieldset
    .form-group
      = f.label :mirror_available, _('Repository mirroring configuration'), class: 'label-bold'
      = f.gitlab_ui_checkbox_component :mirror_available, _('Allow project maintainers to configure repository mirroring'),
      help_text: _('If disabled, only administrators can configure repository mirroring.')

    = render_if_exists 'admin/application_settings/mirror_settings', form: f

  = f.submit _('Save changes'), pajamas_button: true