2018-08-06 05:09:07 +00:00
|
|
|
= form_for @application_setting, url: admin_application_settings_path(anchor: 'js-pages-settings'), html: { class: 'fieldset-form' } do |f|
|
2018-03-22 17:50:46 +00:00
|
|
|
= form_errors(@application_setting)
|
2018-03-26 18:56:33 +00:00
|
|
|
|
|
|
|
%fieldset
|
2018-06-13 07:40:55 +00:00
|
|
|
.form-group
|
2018-07-19 22:11:31 +00:00
|
|
|
= f.label :max_pages_size, 'Maximum size of pages (MB)', class: 'label-bold'
|
2018-06-13 07:40:55 +00:00
|
|
|
= 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')
|
2018-03-26 18:56:33 +00:00
|
|
|
|
2018-03-26 17:51:08 +00:00
|
|
|
= f.submit 'Save changes', class: "btn btn-success"
|