{% extends "orga/mails/base.html" %} {% load history_sidebar %} {% load i18n %} {% load rich_text %} {% load static %} {% block extra_title %}{% translate "Mail Editor" %} :: {% endblock extra_title %} {% block stylesheets %} {{ block.super }} {% endblock stylesheets %} {% block scripts %} {{ block.super }} {% endblock scripts %} {% block mail_content %}
{% if form.instance.sent %}
{% blocktranslate trimmed with timestamp=form.instance.sent %} This email was sent on {{ timestamp }}. {% endblocktranslate %}
{% endif %}
{% csrf_token %}

{% translate "Mail Editor" %}

{% if not form.read_only %} {{ form }} {% for extra_form in extra_forms %}
{% if extra_form.label %}{{ extra_form.label }}{% endif %} {{ extra_form }}
{% endfor %} {% else %}
{{ form.instance.to|default:"-" }}
{% if form.to_users %}
{% for user in form.instance.to_users.all %} {% if user in request.event.submitters %} {{ user }} {% else %} {{ user }}{% endif %}{% if not forloop.last %}, {% endif %} {% endfor %}
{% endif %}
{{ form.instance.reply_to|default:"-" }}
{{ form.instance.cc|default:"-" }}
{{ form.instance.bcc|default:"-" }}
{{ form.instance.subject }}
{{ form.instance.text|rich_text }}
{% for extra_form in extra_forms %}
{% if extra_form.label %}{{ extra_form.label }}{% endif %} {{ extra_form }}
{% endfor %} {% endif %} {% include "orga/includes/submit_row.html" %}
{% endblock mail_content %}