Lint Slim files and fix offenses
The fixing was partially done manually and partially automatically.
This commit is contained in:

committed by
Dominic Sauer

parent
ddfa06ffaa
commit
9a9efd5caa
@@ -2,10 +2,10 @@ h1
|
||||
= @error_template_attribute
|
||||
= render('shared/edit_button', object: @error_template_attribute)
|
||||
|
||||
- [:key, :description].each do |attribute|
|
||||
- %i[key description].each do |attribute|
|
||||
= row(label: "error_template_attribute.#{attribute}", value: @error_template_attribute.send(attribute))
|
||||
= row(label: "error_template_attribute.key") do
|
||||
= row(label: 'error_template_attribute.key') do
|
||||
code = @error_template_attribute.key
|
||||
= row(label: "error_template_attribute.important", value: @error_template_attribute.important)
|
||||
= row(label: 'error_template_attribute.important', value: @error_template_attribute.important)
|
||||
|
||||
// todo: used by
|
||||
|
Reference in New Issue
Block a user