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
@@ -1,7 +1,7 @@
|
||||
h1 = ErrorTemplateAttribute.model_name.human(count: 2)
|
||||
|
||||
.table-responsive
|
||||
table.table class="#{@error_template_attributes.present? ? 'sortable' : ''}"
|
||||
table.table class=(@error_template_attributes.present? ? 'sortable' : '')
|
||||
thead
|
||||
tr
|
||||
th
|
||||
@@ -14,9 +14,9 @@ h1 = ErrorTemplateAttribute.model_name.human(count: 2)
|
||||
tr
|
||||
td
|
||||
- if error_template_attribute.important
|
||||
span class="fa-solid fa-star" aria-hidden="true"
|
||||
span.fa-solid.fa-star aria-hidden='true'
|
||||
- else
|
||||
span class="fa-regular fa-star" aria-hidden="true"
|
||||
span.fa-regular.fa-star aria-hidden='true'
|
||||
td = link_to_if(policy(error_template_attribute).show?, error_template_attribute.key, error_template_attribute)
|
||||
td = error_template_attribute.description
|
||||
td
|
||||
|
Reference in New Issue
Block a user