2018-01-03 08:07:03 +00:00
|
|
|
= form_for @project, url: namespace_project_pages_path(@project.namespace.becomes(Namespace), @project), html: { class: 'inline', title: pages_https_only_title } do |f|
|
2018-04-09 17:36:21 +00:00
|
|
|
= f.check_box :pages_https_only, class: 'float-left', disabled: pages_https_only_disabled?
|
2018-01-03 08:07:03 +00:00
|
|
|
|
|
|
|
.prepend-left-20
|
|
|
|
= f.label :pages_https_only, class: pages_https_only_label_class do
|
|
|
|
%strong Force domains with SSL certificates to use HTTPS
|
|
|
|
|
|
|
|
- unless pages_https_only_disabled?
|
|
|
|
.prepend-top-10
|
|
|
|
= f.submit 'Save', class: 'btn btn-success'
|