{% extends "base.html" %} {% block title %}{{ _('Follow-up email') }} · {{ form.title }} · {{ appearance.name }}{% endblock %} {% macro val(name, default='') %}{% if values %}{{ (values.get(name) or [''])[0] }}{% else %}{{ default }}{% endif %}{% endmacro %} {% block content %}
{% set trigger = (values.get('trigger') or ['manual'])[0] if values else (followup.trigger if followup else 'manual') %}{{ _('This form is anonymous. No addresses are stored with the answers, so follow-up emails cannot be sent.') }}
{% endif %} {% if error %}{{ _(error) }}
{% endif %}{{ _('Recipients are all participants with a known address: their account or a confirmed guest address. People who have switched off follow-up emails are left out.') }}
{{ _(doc_error) }}
{% endif %} {% if documents %}{{ ngettext('Sent to %(num)d person.', 'Sent to %(num)d people.', sent) }}
{% endif %}{{ ngettext('Already sent to %(num)d person.', 'Already sent to %(num)d people.', stats.delivered) }} {% if followup.sent_at %}{{ _('Scheduled sending done on %(date)s.', date=followup.sent_at | datetime) }}{% endif %}
{% if not form.anonymous %}{{ _('Show recipients and send to individual people') }}
{% endif %} {% if preview %}{{ _('Subject') }}: {{ preview.subject }}
{{ preview.text }}
{{ _(send_error) }}
{% endif %} {% if not form.anonymous %} {% endif %}