summaryrefslogtreecommitdiff
path: root/app/views/shared/snippets
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-15 18:58:58 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-16 13:33:48 -0400
commit0d7a0675ac7a14b4209fc617f578b83008981fd0 (patch)
treeded1165187c74b8d337af38b8840f25431d17371 /app/views/shared/snippets
parent09b4e11d26d056ed2489baff65f319fc33143570 (diff)
downloadgitlab-ce-0d7a0675ac7a14b4209fc617f578b83008981fd0.tar.gz
Bootlint: Fix incorrectly nested `form-group` element
Diffstat (limited to 'app/views/shared/snippets')
-rw-r--r--app/views/shared/snippets/_form.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/snippets/_form.html.haml b/app/views/shared/snippets/_form.html.haml
index 2feeeecc48b..fe25133abb0 100644
--- a/app/views/shared/snippets/_form.html.haml
+++ b/app/views/shared/snippets/_form.html.haml
@@ -12,8 +12,8 @@
= render 'shared/visibility_level', f: f, visibility_level: visibility_level, can_change_visibility_level: true, form_model: @snippet
- .form-group
- .file-editor
+ .file-editor
+ .form-group
= f.label :file_name, "File", class: 'control-label'
.col-sm-10
.file-holder.snippet