blob: fae5b0b965f8d5dc3c8d10f496803df5f62a13da (
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(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"
|