Files
myep-team/templates/admin/system/email_text/_form.html.twig
T
2026-08-17 10:39:19 +02:00

28 lines
837 B
Twig

{{ form_start(form) }}
<div class="flex flex-col space-y-4 pb-8">
{{ form_row(form.subject) }}
{{ form_row(form.headline) }}
{{ form_row(form.body) }}
<div class="bg-gray-100 rounded-md p-4 text-sm">
<div class="font-bold pb-2">
Verfügbare Platzhalter
</div>
<ul class="space-y-1">
{% for name, description in definition.placeholders %}
<li>
<code class="font-bold">{{ '{' ~ name ~ '}' }}</code> &ndash; {{ description }}
</li>
{% endfor %}
</ul>
<div class="pt-2">
Platzhalter ohne Wert werden als <code class="font-bold">-</code> ausgegeben.
</div>
</div>
</div>
<button type="submit" class="btn">
Speichern
</button>
{{ form_rest(form) }}
{{ form_end(form) }}