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

@@ -1,8 +1,8 @@
- unless local_assigns[:modal]
h1 = t('shared.help.headline')
- if local_assigns.has_key?(:execution_environment)
h2 = t('shared.help.execution_environment_specific_help', execution_environment: execution_environment)
- if local_assigns.key?(:execution_environment)
h2 = t('shared.help.execution_environment_specific_help', execution_environment:)
= render_markdown(execution_environment.help)
- content_for :modal_footer do