summaryrefslogtreecommitdiff
path: root/app/views/admin/application_settings/_pages.html.haml
blob: f168ec62ffdb16cc43610a7c4ab9532fc1c02d81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
= form_for @application_setting, url: admin_application_settings_path, html: { class: 'fieldset-form' } do |f|
  = form_errors(@application_setting)

  %fieldset
    .form-group
      = f.label :max_pages_size, 'Maximum size of pages (MB)', class: 'label-light'
      = f.number_field :max_pages_size, class: 'form-control'
      .form-text.text-muted 0 for unlimited
    .form-group
      .form-check
        = f.check_box :pages_domain_verification_enabled, class: 'form-check-input'
        = f.label :pages_domain_verification_enabled, class: 'form-check-label' do
          Require users to prove ownership of custom domains
      .form-text.text-muted
        Domain verification is an essential security measure for public GitLab
        sites. Users are required to demonstrate they control a domain before
        it is enabled
        = link_to icon('question-circle'), help_page_path('user/project/pages/getting_started_part_three.md', anchor: 'dns-txt-record')

  = f.submit 'Save changes', class: "btn btn-success"