Fix Lint/UnusedBlockArgument
cop (#27777)
This commit is contained in:
parent
5af47fbff8
commit
c875dfc90b
5 changed files with 6 additions and 15 deletions
|
@ -164,7 +164,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| "#{label} #{required}" }
|
||||
config.label_text = lambda { |label, required, _explicit_label| "#{label} #{required}" }
|
||||
|
||||
# You can define the class to use on all labels. Default is nil.
|
||||
# config.label_class = nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue