{% extends "base.html" %} {% block title %}{{ _(label) }} · {{ _('Email templates') }} · {{ appearance.name }}{% endblock %} {% block content %}

← {{ _('Email templates') }}

{{ _(label) }}

{% if stored %}{{ _('Own text') }}{% else %}{{ _('Write own text') }}{% endif %}

{% for message, names in errors %}{% endfor %}
{{ csrf_field(request) }}

{{ _('Plain text; empty lines separate paragraphs, web addresses become links. The footer with the unsubscribe link is added automatically.') }}

{% if stored %}
{{ csrf_field(request) }}
{% endif %}

{{ _('Placeholders') }}

{% for key, text in placeholders.items() %}
{{ '{' ~ key ~ '}' }}{% if key in required %} {{ _('needed without {details}') }}{% endif %}
{{ _(text) }}
{% endfor %}
{% if preview %}

{{ _('Preview with sample data') }}

{{ preview.subject }}

{{ preview.text }}
{% endif %}

{{ _('Standard text') }}

{{ _('With sample data. Parts that depend on the situation (e.g. notes for guests) can differ.') }}

{{ default.subject }}

{{ default.text }}
{% endblock %}