summaryrefslogtreecommitdiff
path: root/app/views/projects/labels
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-06-15 18:48:54 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-06-16 13:32:32 -0400
commit7400cfc11484b35945cefe8bd42ea02f2675b775 (patch)
tree041d79a33077384775de544e2f3fcf2e71345eb2 /app/views/projects/labels
parentadffe47d3c1549bac13a15868a1fb8071bd0d10d (diff)
downloadgitlab-ce-7400cfc11484b35945cefe8bd42ea02f2675b775.tar.gz
Bootlint: Use offset grid classes instead of empty divs
Diffstat (limited to 'app/views/projects/labels')
-rw-r--r--app/views/projects/labels/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/labels/_form.html.haml b/app/views/projects/labels/_form.html.haml
index 261d52dedc1..d791ed3410c 100644
--- a/app/views/projects/labels/_form.html.haml
+++ b/app/views/projects/labels/_form.html.haml
@@ -1,7 +1,7 @@
= form_for [@project.namespace.becomes(Namespace), @project, @label], html: { class: 'form-horizontal label-form' } do |f|
-if @label.errors.any?
.row
- .col-sm-10.col-sm-offset-2
+ .col-sm-offset-2.col-sm-10
.alert.alert-danger
- @label.errors.full_messages.each do |msg|
%span= msg