debian-mirror-gitlab/app/views/projects/pages/_https_only.html.haml

11 lines
541 B
Text
Raw Normal View History

2018-05-09 12:01:36 +05:30
= form_for @project, url: namespace_project_pages_path(@project.namespace.becomes(Namespace), @project), html: { class: 'inline', title: pages_https_only_title } do |f|
2019-02-15 15:39:39 +05:30
.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
2019-05-18 00:54:41 +05:30
%strong Force HTTPS (requires valid certificates)
2018-05-09 12:01:36 +05:30
- unless pages_https_only_disabled?
.prepend-top-10
= f.submit 'Save', class: 'btn btn-success'