2021-04-15 05:09:03 -04: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 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
|
2021-08-03 02:08:50 -04:00
|
|
|
= _("All users must accept the Terms of Service and Privacy Policy to access GitLab")
|
2018-05-29 10:58:31 -04:00
|
|
|
.form-text.text-muted
|
2018-06-13 03:40:55 -04:00
|
|
|
.form-group
|
|
|
|
= f.label :terms do
|
|
|
|
= _("Terms of Service Agreement and Privacy Policy")
|
2021-01-31 13:09:51 -05:00
|
|
|
= f.text_area :terms, class: 'form-control gl-form-input', rows: 8
|
2018-06-13 03:40:55 -04:00
|
|
|
.form-text.text-muted
|
2021-08-03 02:08:50 -04:00
|
|
|
= _("Markdown supported.")
|
|
|
|
= link_to _('What is Markdown?'), help_page_path('user/markdown.md'), target: '_blank', rel: 'noopener noreferrer'
|
2021-03-09 10:08:59 -05:00
|
|
|
= f.submit _("Save changes"), class: "gl-button btn btn-confirm"
|