Fix haml-lint Rubocop lambda cop (#25946)
This commit is contained in:
parent
5096deb818
commit
361dd43235
14 changed files with 23 additions and 23 deletions
|
|
@ -14,7 +14,7 @@
|
|||
%p.lead= t('admin.settings.appearance.preamble')
|
||||
|
||||
.fields-group
|
||||
= f.input :theme, collection: Themes.instance.names, label_method: lambda { |theme| I18n.t("themes.#{theme}", default: theme) }, wrapper: :with_label, include_blank: false
|
||||
= f.input :theme, collection: Themes.instance.names, label_method: ->(theme) { I18n.t("themes.#{theme}", default: theme) }, wrapper: :with_label, include_blank: false
|
||||
|
||||
.fields-group
|
||||
= f.input :custom_css, wrapper: :with_block_label, as: :text, input_html: { rows: 8 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue