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,17 +5,17 @@
= f.text_field(:title, class: 'form-control', required: false)
.mb-3
= f.label(:description, class: 'form-label')
= f.pagedown :description, input_html: { preview: true, rows: 5 }
= f.pagedown :description, input_html: {preview: true, rows: 5}
.mb-3
= f.label(:file_type_id, t('activerecord.attributes.file.file_type_id'), class: 'form-label')
= f.collection_select(:file_type_id, @file_types, :id, :name, {include_blank: true}, class: 'form-control')
.mb-3
= f.label(:example, class: 'form-label')
= f.text_area(:example, class: 'code-field form-control', rows: 5, style: "display:none;", required: false)
= f.text_area(:example, class: 'code-field form-control', rows: 5, style: 'display:none;', required: false)
#editor-edit.original-input data-file-id=@tip.id
#frames
.edit-frame
.editor-content.d-none
.editor.allow_ace_tooltip
.actions = render('shared/submit_button', f: f, object: @tip)
.actions = render('shared/submit_button', f:, object: @tip)
.editor