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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
836 B
Text
Raw Normal View History

2022-06-21 17:19:12 +05:30
= gitlab_ui_form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-terms-settings'), html: { class: 'fieldset-form', id: 'terms-settings' } do |f|
2022-07-23 23:45:48 +05:30
= form_errors(@application_setting, pajamas_alert: true)
2018-10-15 14:42:47 +05:30
%fieldset
.form-group
2022-06-21 17:19:12 +05:30
= f.gitlab_ui_checkbox_component :enforce_terms, _("All users must accept the Terms of Service and Privacy Policy to access GitLab")
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
2021-10-27 15:23:28 +05:30
= _("Markdown supported.")
= link_to _('What is Markdown?'), help_page_path('user/markdown.md'), target: '_blank', rel: 'noopener noreferrer'
2021-04-17 20:07:23 +05:30
= f.submit _("Save changes"), class: "gl-button btn btn-confirm"