2019-09-16 17:06:30 -04:00
|
|
|
= form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-terms-settings'), html: { class: 'fieldset-form' } do |f|
|
2018-04-24 05:37:41 -04:00
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
2018-06-13 03:40:55 -04:00
|
|
|
.form-group
|
|
|
|
.form-check
|
|
|
|
= f.check_box :enforce_terms, class: 'form-check-input'
|
|
|
|
= f.label :enforce_terms, class: 'form-check-label' do
|
|
|
|
= _("Require all users to accept Terms of Service and Privacy Policy when they access GitLab.")
|
2018-05-29 10:58:31 -04:00
|
|
|
.form-text.text-muted
|
2018-06-13 03:40:55 -04:00
|
|
|
= _("When enabled, users cannot use GitLab until the terms have been accepted.")
|
|
|
|
.form-group
|
|
|
|
= f.label :terms do
|
|
|
|
= _("Terms of Service Agreement and Privacy Policy")
|
|
|
|
= f.text_area :terms, class: 'form-control', rows: 8
|
|
|
|
.form-text.text-muted
|
|
|
|
= _("Markdown enabled")
|
2020-10-14 11:08:42 -04:00
|
|
|
= f.submit _("Save changes"), class: "gl-button btn btn-success"
|