Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-04-12 23:11:22 +0300
committerClement Ho <ClemMakesApps@gmail.com>2018-04-12 23:11:22 +0300
commitc552328617202bd1225abd3e84fc7f4a4b79e4fa (patch)
tree93b5f95af70561784bb29bd6f7dbd1ef12e69b29 /app/views/shared/labels
parent705d7f703b10f5e1a066d0623bf32d07868d6668 (diff)
[skip ci] .form-horizontal => .form-group.row
Diffstat (limited to 'app/views/shared/labels')
-rw-r--r--app/views/shared/labels/_form.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/shared/labels/_form.html.haml b/app/views/shared/labels/_form.html.haml
index 78b39a7633c..387382fbd2c 100644
--- a/app/views/shared/labels/_form.html.haml
+++ b/app/views/shared/labels/_form.html.haml
@@ -1,15 +1,15 @@
-= form_for @label, as: :label, url: url, html: { class: 'form-horizontal label-form js-quick-submit js-requires-input' } do |f|
+= form_for @label, as: :label, url: url, html: { class: 'label-form js-quick-submit js-requires-input' } do |f|
= form_errors(@label)
- .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
- .form-group
+ .form-group.row
= f.label :description, class: 'col-form-label'
.col-sm-10
= f.text_field :description, class: "form-control js-quick-submit"
- .form-group
+ .form-group.row
= f.label :color, "Background color", class: 'col-form-label'
.col-sm-10
.input-group