2020-10-24 23:57:45 +05:30
|
|
|
= form_for @project, url: project_pages_path(@project), html: { class: 'inline', title: pages_https_only_title } do |f|
|
2021-01-03 14:25:43 +05:30
|
|
|
= render_if_exists 'shared/pages/max_pages_size_input', form: f
|
|
|
|
|
2020-03-13 15:44:24 +05:30
|
|
|
- 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)')
|
|
|
|
|
2021-01-03 14:25:43 +05:30
|
|
|
.gl-mt-3
|
2021-04-17 20:07:23 +05:30
|
|
|
= f.submit s_('GitLabPages|Save'), class: 'btn btn-confirm gl-button'
|