diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 15:11:22 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 15:11:22 -0500 |
commit | c552328617202bd1225abd3e84fc7f4a4b79e4fa (patch) | |
tree | 93b5f95af70561784bb29bd6f7dbd1ef12e69b29 /app/views/shared/snippets | |
parent | 705d7f703b10f5e1a066d0623bf32d07868d6668 (diff) | |
download | gitlab-ce-c552328617202bd1225abd3e84fc7f4a4b79e4fa.tar.gz |
[skip ci] .form-horizontal => .form-group.row
Diffstat (limited to 'app/views/shared/snippets')
-rw-r--r-- | app/views/shared/snippets/_form.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/shared/snippets/_form.html.haml b/app/views/shared/snippets/_form.html.haml index 9c2c251e779..81de693c79d 100644 --- a/app/views/shared/snippets/_form.html.haml +++ b/app/views/shared/snippets/_form.html.haml @@ -2,10 +2,10 @@ = page_specific_javascript_tag('lib/ace.js') .snippet-form-holder - = form_for @snippet, url: url, html: { class: "form-horizontal snippet-form js-requires-input js-quick-submit common-note-form" } do |f| + = form_for @snippet, url: url, html: { class: "snippet-form js-requires-input js-quick-submit common-note-form" } do |f| = form_errors(@snippet) - .form-group + .form-group.row = f.label :title, class: 'col-form-label' .col-sm-10 = f.text_field :title, class: 'form-control', required: true, autofocus: true @@ -15,7 +15,7 @@ = render 'shared/visibility_level', f: f, visibility_level: @snippet.visibility_level, can_change_visibility_level: true, form_model: @snippet .file-editor - .form-group + .form-group.row = f.label :file_name, "File", class: 'col-form-label' .col-sm-10 .file-holder.snippet |