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

_third_party_offers.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: c5d775d4bf5c3c2536233563fe9fdfdc4a705ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- application_setting = local_assigns.fetch(:application_setting)

= form_for application_setting, url: admin_application_settings_path, html: { class: 'fieldset-form' } do |f|
  = form_errors(application_setting)

  %fieldset
    .form-group
      .form-check
        = f.check_box :hide_third_party_offers, class: 'form-check-input'
        = f.label :hide_third_party_offers, class: 'form-check-label' do
          Do not display offers from third parties within GitLab

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