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

{% trans "Send email" %} {% blocktrans trimmed with order=order.code %} Back to order {{ order }} {% endblocktrans %}

{% block inner %}
{% csrf_token %} {% bootstrap_field form.sendto layout='horizontal' %} {% bootstrap_field form.subject layout='horizontal' %} {% bootstrap_field form.message layout='horizontal' %} {% bootstrap_field form.attach_tickets layout='horizontal' %} {% if form.attach_new_order %} {% bootstrap_field form.attach_new_order layout='horizontal' %} {% endif %} {% if form.attach_invoices %} {% bootstrap_field form.attach_invoices layout='horizontal' %} {% endif %} {% if request.method == "POST" %}
{% trans "Email preview" %}
{{ preview_output.subject }}

{{ preview_output.html|safe }}
{% endif %}
{% endblock %} {% endblock %}