Commit 2a7026be authored by Christie Lenneville's avatar Christie Lenneville Committed by Peter Hegman

Update checkbox third party offers to be Pajamas compliant

Changelog: changed
parent 232e1151
...@@ -8,13 +8,12 @@ ...@@ -8,13 +8,12 @@
%p %p
= _('Control whether to display customer experience improvement content and third-party offers in GitLab.') = _('Control whether to display customer experience improvement content and third-party offers in GitLab.')
.settings-content .settings-content
= form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-third-party-offers-settings'), html: { class: 'fieldset-form', id: 'third-party-offers-settings' } do |f| = gitlab_ui_form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-third-party-offers-settings'), html: { class: 'fieldset-form', id: 'third-party-offers-settings' } do |f|
= form_errors(@application_setting) if expanded = form_errors(@application_setting) if expanded
%fieldset %fieldset
.form-group .form-group
.form-check = f.gitlab_ui_checkbox_component :hide_third_party_offers,
= f.check_box :hide_third_party_offers, class: 'form-check-input' _('Do not display content for customer experience improvement and offers from third parties')
= f.label :hide_third_party_offers, _('Do not display content for customer experience improvement and offers from third parties'), class: 'form-check-label'
= f.submit _('Save changes'), class: "gl-button btn btn-confirm" = f.submit _('Save changes'), class: "gl-button btn btn-confirm"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment