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-11 22:36:17 +0300
committerClement Ho <ClemMakesApps@gmail.com>2018-04-11 22:36:17 +0300
commite44ceb96d0875ffbe2959cd17a87f02b2b815547 (patch)
treee464e0454bb72c2cba1d63a7d2ffa3b5e3eeac4b /app/views/shared/_field.html.haml
parent94a051cf5489061460b6ffa70a232e5e7cbb1eba (diff)
[skip ci] .control-label to .col-form-label
Diffstat (limited to 'app/views/shared/_field.html.haml')
-rw-r--r--app/views/shared/_field.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/_field.html.haml b/app/views/shared/_field.html.haml
index 2493108743b..0c8d90d92f5 100644
--- a/app/views/shared/_field.html.haml
+++ b/app/views/shared/_field.html.haml
@@ -11,9 +11,9 @@
.form-group
- if type == "password" && value.present?
- = form.label name, "Enter new #{title.downcase}", class: "control-label"
+ = form.label name, "Enter new #{title.downcase}", class: "col-form-label"
- else
- = form.label name, title, class: "control-label"
+ = form.label name, title, class: "col-form-label"
.col-sm-10
- if type == 'text'
= form.text_field name, class: "form-control", placeholder: placeholder, required: required, disabled: disabled