diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-26 16:30:45 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-26 16:30:45 +0100 |
commit | 5d5f3be8e3dd76d88bfca87c6af5175d39e6049c (patch) | |
tree | 9a0c98abd94b442836eee72b9dcca0fc37e49aa2 /config/initializers/simple_form.rb | |
parent | 16c8605ad879bf0ac0c46bc24f2e9cd5c62e3a7d (diff) |
Don't show a star for required fields any more. closes #192
Diffstat (limited to 'config/initializers/simple_form.rb')
-rw-r--r-- | config/initializers/simple_form.rb | 1 |
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' |