From 5d5f3be8e3dd76d88bfca87c6af5175d39e6049c Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Tue, 26 Feb 2013 16:30:45 +0100 Subject: Don't show a star for required fields any more. closes #192 --- config/initializers/simple_form.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config/initializers/simple_form.rb') 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' -- cgit v1.2.3