rename lambda references to use shorthand syntax
This commit is contained in:
@@ -101,7 +101,7 @@ SimpleForm.setup do |config|
|
||||
# config.item_wrapper_class = nil
|
||||
|
||||
# How the label text should be generated altogether with the required text.
|
||||
# config.label_text = lambda { |label, required, explicit_label| "#{required} #{label}" }
|
||||
# config.label_text = ->(label, required, explicit_label) { "#{required} #{label}" }
|
||||
|
||||
# You can define the class to use on all labels. Default is nil.
|
||||
# config.label_class = nil
|
||||
|
||||
Reference in New Issue
Block a user