summaryrefslogtreecommitdiff
path: root/app/views/admin/labels
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2019-02-03 23:29:34 +0900
committerTakuya Noguchi <takninnovationresearch@gmail.com>2019-05-27 13:35:28 +0900
commit34609f7ce466ee5b8f077c0f4e938adc04c647a8 (patch)
treedda6766fa08aacf5b2f44d63ea675956705b20c0 /app/views/admin/labels
parent96fdba8819fbfa54b71b1806a417bc11f246a42d (diff)
downloadgitlab-ce-34609f7ce466ee5b8f077c0f4e938adc04c647a8.tar.gz
Fix col-sm-* in forms to keep layout
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
Diffstat (limited to 'app/views/admin/labels')
-rw-r--r--app/views/admin/labels/_form.html.haml9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/admin/labels/_form.html.haml b/app/views/admin/labels/_form.html.haml
index 5e7b4817461..49aa62a5408 100644
--- a/app/views/admin/labels/_form.html.haml
+++ b/app/views/admin/labels/_form.html.haml
@@ -2,15 +2,18 @@
= form_errors(@label)
.form-group.row
- = f.label :title, class: 'col-form-label col-sm-2'
+ .col-sm-2.col-form-label
+ = f.label :title
.col-sm-10
= f.text_field :title, class: "form-control", required: true
.form-group.row
- = f.label :description, class: 'col-form-label col-sm-2'
+ .col-sm-2.col-form-label
+ = f.label :description
.col-sm-10
= f.text_field :description, class: "form-control js-quick-submit"
.form-group.row
- = f.label :color, _("Background color"), class: 'col-form-label col-sm-2'
+ .col-sm-2.col-form-label
+ = f.label :color, _("Background color")
.col-sm-10
.input-group
.input-group-prepend