Files
codeocean/app/views/application/help.html.slim
Sebastian Serth 9a9efd5caa Lint Slim files and fix offenses
The fixing was partially done manually and partially automatically.
2024-04-18 08:31:24 +02:00

14 lines
552 B
Plaintext

- unless local_assigns[:modal]
h1 = t('shared.help.headline')
- 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
- if ApplicationController::LEGAL_SETTINGS.present?
ul.horizontal.dash.pull-start
- ApplicationController::LEGAL_SETTINGS.each do |name, link|
li
= link_to(t("shared.help.#{name.delete_suffix('_url')}"), link, target: '_blank', rel: 'noopener')