{% extends "pretixcontrol/event/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load humanize %} {% block title %}{% trans "Send out emails" %}{% endblock %} {% block content %}

{% trans "Send out emails" %}

{% block inner %}
{% csrf_token %} {% bootstrap_form_errors form %} {% bootstrap_field form.recipients layout='horizontal' %} {% bootstrap_field form.description layout='horizontal' %} {% bootstrap_field form.subject layout='horizontal' %} {% bootstrap_field form.message layout='horizontal' %} {% bootstrap_field form.attachment layout='horizontal' %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %} {% if request.method == "POST" %}
{% trans "Email preview" %}
{% for locale, out in output.items %}
{{ out.subject|safe }}

{{ out.html|safe }}
{% endfor %}
{% endif %}
{% endblock %} {% endblock %}