summaryrefslogtreecommitdiff
path: root/config/initializers
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-02-26 16:17:05 -0500
committerPeter Kozak <spag@golwen.net>2013-02-26 16:17:05 -0500
commitc175bbeec5c1573ba34da80cd1ec024e2be32b40 (patch)
tree28b6373dd4ffefa1897a0e91b67f19ec8fb2795f /config/initializers
parentbc45716cb2aa3cd81ad5519edac8e09239a45984 (diff)
parent177a2c037468e222191b6668eb8e64a94833b18c (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'config/initializers')
-rw-r--r--config/initializers/simple_form.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/simple_form.rb b/config/initializers/simple_form.rb
index 062f823..06dc271 100644
--- a/config/initializers/simple_form.rb
+++ b/config/initializers/simple_form.rb
@@ -145,6 +145,7 @@ SimpleForm.setup do |config|
# How the label text should be generated altogether with the required text.
# config.label_text = lambda { |label, required| "#{required} #{label}" }
+ config.label_text = lambda { |label, required| "#{label}" }
# You can define the class to use on all labels. Default is nil.
config.label_class = 'control-label'