Lint Slim files and fix offenses

The fixing was partially done manually and partially automatically.
This commit is contained in:
Sebastian Serth
2024-04-13 20:06:03 +02:00
committed by Dominic Sauer
parent ddfa06ffaa
commit 9a9efd5caa
91 changed files with 378 additions and 392 deletions

View File

@@ -5,8 +5,8 @@
= f.text_field(:name, class: 'form-control', required: true)
.mb-3
= f.label(:file_type_id, class: 'form-label')
= f.collection_select(:file_type_id, FileType.all.order(:name), :id, :name, {}, class: 'form-control')
= f.collection_select(:file_type_id, FileType.order(:name), :id, :name, {}, class: 'form-control')
.mb-3
= f.label(:content, class: 'form-label')
= f.text_area(:content, class: 'form-control')
.actions = render('shared/submit_button', f: f, object: @file_template)
.actions = render('shared/submit_button', f:, object: @file_template)