blob: 51483176d6f01c8da7aedd9e96508d421de9c73c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
= form_for @project, url: project_pages_path(@project), html: { class: 'inline', title: pages_https_only_title } do |f|
= render_if_exists 'shared/pages/max_pages_size_input', form: f
- if Gitlab.config.pages.external_http || Gitlab.config.pages.external_https
.form-group
.form-check
= f.check_box :pages_https_only, class: 'form-check-input', disabled: pages_https_only_disabled?
= f.label :pages_https_only, class: pages_https_only_label_class do
%strong
= s_('GitLabPages|Force HTTPS (requires valid certificates)')
.gl-mt-3
= f.submit s_('GitLabPages|Save'), class: 'btn btn-success gl-button'
|