feat: admin editable email templates

addresses #869eg7ptr
This commit is contained in:
Björn Fromme
2026-08-17 10:39:19 +02:00
parent 804dab335f
commit 3e08965e48
49 changed files with 1760 additions and 276 deletions
@@ -0,0 +1,27 @@
{{ 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) }}