2018-06-08 07:20:44 -04:00
|
|
|
= form_for @application_setting, url: admin_application_settings_path, html: { class: 'fieldset-form' } do |f|
|
2018-04-24 05:37:41 -04:00
|
|
|
= form_errors(@application_setting)
|
|
|
|
|
|
|
|
%fieldset
|
2018-05-30 13:28:28 -04:00
|
|
|
.form-group.row
|
2018-04-24 05:37:41 -04:00
|
|
|
.col-sm-12
|
2018-05-24 09:33:23 -04:00
|
|
|
.form-check
|
2018-05-31 15:20:46 -04:00
|
|
|
= f.check_box :enforce_terms, class: 'form-check-input'
|
|
|
|
= f.label :enforce_terms, class: 'form-check-label' do
|
2018-06-08 07:20:44 -04:00
|
|
|
= _("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-04-24 12:28:04 -04:00
|
|
|
= _("When enabled, users cannot use GitLab until the terms have been accepted.")
|
2018-05-30 13:28:28 -04:00
|
|
|
.form-group.row
|
2018-04-24 05:37:41 -04:00
|
|
|
.col-sm-12
|
|
|
|
= f.label :terms do
|
2018-06-08 07:20:44 -04:00
|
|
|
= _("Terms of Service Agreement and Privacy Policy")
|
2018-04-24 05:37:41 -04:00
|
|
|
.col-sm-12
|
|
|
|
= f.text_area :terms, class: 'form-control', rows: 8
|
2018-05-29 10:58:31 -04:00
|
|
|
.form-text.text-muted
|
2018-04-24 12:28:04 -04:00
|
|
|
= _("Markdown enabled")
|
2018-04-24 05:37:41 -04:00
|
|
|
|
2018-04-24 12:28:04 -04:00
|
|
|
= f.submit _("Save changes"), class: "btn btn-success"
|