{% extends "orga/mails/base.html" %} {% load bootstrap4 %} {% load i18n %} {% block mail_content %} {% if form.instance.sent %}
{% blocktrans trimmed with timestamp=form.instance.sent %} This email was sent on {{ timestamp }} {% endblocktrans %}
{% endif %}
{% csrf_token %} {% trans "Mail Editor" %} {% bootstrap_form form layout='horizontal' %}
{% if action == "edit" %} {% elif action == "view" %} {% if form.instance.sent %} {% trans "Copy to draft" %} {% else %} {% trans "Send" %} {% trans "Edit" %} {% trans "Discard" %} {% endif %} {% endif %}
{% endblock %}