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

_runner_registrars_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: 08486a808bfbc3e2ba9eec7e797393929befa8e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
= gitlab_ui_form_for @application_setting, url: ci_cd_admin_application_settings_path(anchor: 'js-runner-settings'), html: { class: 'fieldset-form' } do |f|
  = form_errors(@application_setting)

  %fieldset
    .gl-form-group
      %span.form-text.gl-mb-3.gl-mt-0
        = _('If no options are selected, only administrators can register runners.')
        = link_to _('Learn more.'), help_page_path('user/admin_area/settings/continuous_integration', anchor: 'restrict-runner-registration-by-all-users-in-an-instance'), target: '_blank', rel: 'noopener noreferrer'
      = hidden_field_tag "application_setting[valid_runner_registrars][]", nil
      - ApplicationSetting::VALID_RUNNER_REGISTRAR_TYPES.each do |type|
        = f.gitlab_ui_checkbox_component :valid_runner_registrars, s_("Runners|Members of the %{type} can register runners") % { type: type },
          checkbox_options: { multiple: true, checked: valid_runner_registrars.include?(type) },
          checked_value: type,
          unchecked_value: nil

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