{% if help is defined %}
{% if help.common|default([])|length or help.messages|default([])|length or help.includes|default([])|length %}
<div id="help" class="container mb-2">
<button class="btn material-icons{{ app.user.showHelp ? " collapsed" : "" }}" type="button" data-bs-toggle="collapse" data-bs-target="#help-text" aria-expanded="false" aria-controls="help-text">
help
</button>
<div class="collapse{{ app.user.showHelp ? " show" : "" }}" id="help-text">
<div class="card card-body text-justify">
{% for message in help.common|default([]) %}
<p><strong>{{ ("label." ~ message)|trans|raw }}:</strong> {{ ("common." ~ message)|trans|raw }}</p>
{% endfor %}
{% for message in help.messages|default([]) %}
{% if help.translate %}
<p><strong>{{ (help.prefix ~ ".label." ~ message)|trans|raw }}:</strong> {{ (help.prefix ~ "." ~ message)|trans|raw }}</p>
{% else %}
<p>{{ message }}</p>
{% endif %}
{% endfor %}
{% for inc in help.includes|default([]) %}
{% include inc %}
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% endif %}