diff options
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' |