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

@@ -6,9 +6,9 @@
button.btn-close data-bs-dismiss='modal' type='button'
span.visually-hidden Close
.modal-body
- if local_assigns.has_key?(:body)
- if local_assigns.key?(:body)
= body
- else
= render(layout: false, locals: (local_assigns[:template_variables] || {}).merge(modal: true), template: template)
= render(layout: false, locals: (local_assigns[:template_variables] || {}).merge(modal: true), template:)
.modal-footer
= yield(:modal_footer)