summaryrefslogtreecommitdiff
path: root/app/views/admin/application_settings/_third_party_offers.html.haml
blob: adde09f75e4f2d34495244051ef892ef9f711aa7 (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: integrations_admin_application_settings_path(anchor: 'js-third-party-offers-settings'), 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"