summaryrefslogtreecommitdiff
path: root/app/views/admin/application_settings/_terms.html.haml
blob: 257565ce19356649a7ffe4addfc72c8eeb98fa28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
= form_for @application_setting, url: admin_application_settings_path do |f|
  = form_errors(@application_setting)

  %fieldset
    .form-group.row
      .col-sm-12
        .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 when they access GitLab.")
          .form-text.text-muted
            = _("When enabled, users cannot use GitLab until the terms have been accepted.")
    .form-group.row
      .col-sm-12
        = f.label :terms do
          = _("Terms of Service Agreement")
      .col-sm-12
        = f.text_area :terms, class: 'form-control', rows: 8
        .form-text.text-muted
          = _("Markdown enabled")

  = f.submit _("Save changes"), class: "btn btn-success"