debian-mirror-gitlab/app/views/admin/application_settings/_terms.html.haml

19 lines
890 B
Text
Raw Normal View History

2019-12-04 20:38:33 +05:30
= form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-terms-settings'), html: { class: 'fieldset-form' } do |f|
2018-10-15 14:42:47 +05:30
= form_errors(@application_setting)
%fieldset
.form-group
2018-11-08 19:23:39 +05:30
.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.")
.form-text.text-muted
= _("When enabled, users cannot use GitLab until the terms have been accepted.")
2018-10-15 14:42:47 +05:30
.form-group
2018-11-08 19:23:39 +05:30
= f.label :terms do
= _("Terms of Service Agreement and Privacy Policy")
2021-03-11 19:13:27 +05:30
= f.text_area :terms, class: 'form-control gl-form-input', rows: 8
2018-11-08 19:23:39 +05:30
.form-text.text-muted
= _("Markdown enabled")
2021-01-03 14:25:43 +05:30
= f.submit _("Save changes"), class: "gl-button btn btn-success"