summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-04-28 16:33:23 +0100
committerNick Thomas <nick@gitlab.com>2017-06-22 15:42:44 +0100
commit963052bf3c91100de010feb162cf5aa31ae33128 (patch)
treed3d9afa458e5feddbb59d01c60aa7ddedb8d93c2 /config
parent5695e52bfe3dcbc4d65413a351a33a8ccbd3ad5d (diff)
downloadgitlab-ce-963052bf3c91100de010feb162cf5aa31ae33128.tar.gz
Convert app/views/profiles/show.html.haml to bootstrap_form
Diffstat (limited to 'config')
-rw-r--r--config/initializers/bootstrap_form.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/initializers/bootstrap_form.rb b/config/initializers/bootstrap_form.rb
new file mode 100644
index 00000000000..11171b38a85
--- /dev/null
+++ b/config/initializers/bootstrap_form.rb
@@ -0,0 +1,7 @@
+module BootstrapFormBuilderCustomization
+ def label_class
+ "label-light"
+ end
+end
+
+BootstrapForm::FormBuilder.prepend(BootstrapFormBuilderCustomization)