diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 23:11:22 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 23:11:22 +0300 |
commit | c552328617202bd1225abd3e84fc7f4a4b79e4fa (patch) | |
tree | 93b5f95af70561784bb29bd6f7dbd1ef12e69b29 /app/views/admin/appearances/_form.html.haml | |
parent | 705d7f703b10f5e1a066d0623bf32d07868d6668 (diff) |
[skip ci] .form-horizontal => .form-group.row
Diffstat (limited to 'app/views/admin/appearances/_form.html.haml')
-rw-r--r-- | app/views/admin/appearances/_form.html.haml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/admin/appearances/_form.html.haml b/app/views/admin/appearances/_form.html.haml index ec86ce5c114..d3637a3dcdd 100644 --- a/app/views/admin/appearances/_form.html.haml +++ b/app/views/admin/appearances/_form.html.haml @@ -1,10 +1,10 @@ -= form_for @appearance, url: admin_appearances_path, html: { class: 'form-horizontal'} do |f| += form_for @appearance, url: admin_appearances_path, do |f| = form_errors(@appearance) %fieldset.app_logo %legend Navigation bar: - .form-group + .form-group.row = f.label :header_logo, 'Header logo', class: 'col-form-label' .col-sm-10 - if @appearance.header_logo? @@ -21,17 +21,17 @@ %fieldset.sign-in %legend Sign in/Sign up pages: - .form-group + .form-group.row = f.label :title, class: 'col-form-label' .col-sm-10 = f.text_field :title, class: "form-control" - .form-group + .form-group.row = f.label :description, class: 'col-form-label' .col-sm-10 = f.text_area :description, class: "form-control", rows: 10 .hint Description parsed with #{link_to "GitLab Flavored Markdown", help_page_path('user/markdown'), target: '_blank'}. - .form-group + .form-group.row = f.label :logo, class: 'col-form-label' .col-sm-10 - if @appearance.logo? @@ -48,7 +48,7 @@ %fieldset %legend New project pages: - .form-group + .form-group.row = f.label :new_project_guidelines, class: 'col-form-label' .col-sm-10 = f.text_area :new_project_guidelines, class: "form-control", rows: 10 |