diff options
author | Felipe Artur <felipefac@gmail.com> | 2018-07-18 03:17:07 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2018-07-18 03:17:07 +0300 |
commit | c97d822c1b76be57d5b988940311f8a3238b6a5e (patch) | |
tree | e5ff2ecb49c9ed29397c4266a2ccbae9e6540464 /app/views/admin/application_settings/_third_party_offers.html.haml | |
parent | 5238eb5eb71396beaade7d0a80f180269bcd21a5 (diff) | |
parent | 07f4b095f8de2a3968705f103701c5075669b2a5 (diff) |
Merge branch '11-1-stable-prepare-rc13' into 11-1-stable
Diffstat (limited to 'app/views/admin/application_settings/_third_party_offers.html.haml')
-rw-r--r-- | app/views/admin/application_settings/_third_party_offers.html.haml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/admin/application_settings/_third_party_offers.html.haml b/app/views/admin/application_settings/_third_party_offers.html.haml new file mode 100644 index 00000000000..c5d775d4bf5 --- /dev/null +++ b/app/views/admin/application_settings/_third_party_offers.html.haml @@ -0,0 +1,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" |