blob: d8c4a5f0a5d9232e3a4f54d291c44e81094e3d69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
= form_for @project, url: namespace_project_pages_path(@project.namespace.becomes(Namespace), @project), html: { class: 'inline', title: pages_https_only_title } do |f|
.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)')
- unless pages_https_only_disabled?
.prepend-top-10
= f.submit s_('GitLabPages|Save'), class: 'btn btn-success'
|