{% extends "base.html" %} {% from "components/ui.html" import csrf_field with context %} {% set verb = stored.reference.action if stored is not none and stored.reference is not none else values.get("action", "") %} {% set action_name = {"reply": "Reply", "reply_all": "Reply to all", "forward": "Forward"}.get(verb, "") %} {% set title = ("Draft" if draft_id else (action_name or "New message")) %} {% block title %}{{ title }} · {{ account.email }} · {{ APP_NAME }}{% endblock %} {% block heading %}{{ title }}{% endblock %} {% block subheading %}
The draft holds its {{ "forward" if verb == "forward" else "quote" }} already. Saved or sent, it stays linked to this message{% if verb != "forward" %} and in its thread{% endif %}.
{% else %}{% if values.action == "forward" %}The original goes along below your text, with its attachments.{% else %}Your text comes first. The original is quoted below it.{% endif %} Empty fields are filled in from the original: {% if values.action == "forward" %}the subject.{% else %}recipients and subject.{% endif %}
{% endif %}