summaryrefslogtreecommitdiff
path: root/app/views/admin/application_settings/_third_party_offers.html.haml
blob: b76fe93575db36fd09c5ee6c2ee0effdfeb98c68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- application_setting = local_assigns.fetch(:application_setting)

= form_for application_setting, url: admin_application_settings_path(anchor: 'js-third-party-offers-settings'), html: { class: 'fieldset-form' } do |f|
  = form_errors(application_setting)

  = hidden_field(:redirect_path, integrations_admin_application_settings_path)

  %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"