diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 18:16:56 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 18:16:56 -0500 |
commit | 4e54f5ae1b15ff61efb2f434afa6e15b1666a3cd (patch) | |
tree | 23be4902b84217978d15b3402d91f78a9825996a /app/views/projects/pages_domains | |
parent | 53bf57f3acf00436ee16f93cda433670c08a2275 (diff) | |
download | gitlab-ce-4e54f5ae1b15ff61efb2f434afa6e15b1666a3cd.tar.gz |
[skip ci] add col-sm-* for form-horizontal changes to keep layout
Diffstat (limited to 'app/views/projects/pages_domains')
-rw-r--r-- | app/views/projects/pages_domains/_form.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/pages_domains/_form.html.haml b/app/views/projects/pages_domains/_form.html.haml index 3b0ff81b58f..0d848f7899c 100644 --- a/app/views/projects/pages_domains/_form.html.haml +++ b/app/views/projects/pages_domains/_form.html.haml @@ -5,21 +5,21 @@ %p= msg .form-group.row - = f.label :domain, class: 'col-form-label' do + = f.label :domain, class: 'col-form-label col-sm-2' do Domain .col-sm-10 = f.text_field :domain, required: true, autocomplete: 'off', class: 'form-control', disabled: @domain.persisted? - if Gitlab.config.pages.external_https .form-group.row - = f.label :certificate, class: 'col-form-label' do + = f.label :certificate, class: 'col-form-label col-sm-2' do Certificate (PEM) .col-sm-10 = f.text_area :certificate, rows: 5, class: 'form-control' %span.help-inline Upload a certificate for your domain with all intermediates .form-group.row - = f.label :key, class: 'col-form-label' do + = f.label :key, class: 'col-form-label col-sm-2' do Key (PEM) .col-sm-10 = f.text_area :key, rows: 5, class: 'form-control' |