2021-04-15 09:09:03 +00:00
|
|
|
= form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-terms-settings'), html: { class: 'fieldset-form', id: 'terms-settings' } do |f|
|
2018-04-24 09:37:41 +00:00
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-group
|
|
|
|
.form-check
|
|
|
|
= f.check_box :enforce_terms, class: 'form-check-input'
|
|
|
|
= f.label :enforce_terms, class: 'form-check-label' do
|
2021-08-03 06:08:50 +00:00
|
|
|
= _("All users must accept the Terms of Service and Privacy Policy to access GitLab")
|
2018-05-29 14:58:31 +00:00
|
|
|
.form-text.text-muted
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-group
|
|
|
|
= f.label :terms do
|
|
|
|
= _("Terms of Service Agreement and Privacy Policy")
|
2021-01-31 18:09:51 +00:00
|
|
|
= f.text_area :terms, class: 'form-control gl-form-input', rows: 8
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-text.text-muted
|
2021-08-03 06:08:50 +00:00
|
|
|
= _("Markdown supported.")
|
|
|
|
= link_to _('What is Markdown?'), help_page_path('user/markdown.md'), target: '_blank', rel: 'noopener noreferrer'
|
2021-03-09 15:08:59 +00:00
|
|
|
= f.submit _("Save changes"), class: "gl-button btn btn-confirm"
|