summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Hampton <shampton@gitlab.com>2018-11-09 13:31:00 -0700
committerScott Hampton <shampton@gitlab.com>2018-11-09 13:31:00 -0700
commit88eca9e57b904b3c6ea6b6ecb454439324f181a6 (patch)
tree2432b4319459b235087dd2c15c500eacbd1a5576
parent97a281eb163fb9613a6e585575df018a29f6f4c3 (diff)
downloadgitlab-ce-48475-gitlab-pages-settings-regressions.tar.gz
Fix form on HTTPS checkbox48475-gitlab-pages-settings-regressions
-rw-r--r--app/views/projects/pages/_https_only.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/pages/_https_only.html.haml b/app/views/projects/pages/_https_only.html.haml
index 2ed8cb45bf0..ce3ef29c32e 100644
--- a/app/views/projects/pages/_https_only.html.haml
+++ b/app/views/projects/pages/_https_only.html.haml
@@ -1,9 +1,9 @@
= form_for @project, url: namespace_project_pages_path(@project.namespace.becomes(Namespace), @project), html: { class: 'inline', title: pages_https_only_title } do |f|
- = f.check_box :pages_https_only, class: 'float-left prepend-top-5', disabled: pages_https_only_disabled?
-
- .prepend-left-20
- = f.label :pages_https_only, class: pages_https_only_label_class do
- %strong Force domains with SSL certificates to use 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 Force domains with SSL certificates to use HTTPS
- unless pages_https_only_disabled?
.prepend-top-10