{% load i18n %} {{ form.media }}
{% if messages %} {% endif %}
{% csrf_token %}
{% for choice in form.to %} {% endfor %} {% for choice in form.to|slice:":1" %}
{{ choice.choice_label }}
{% endfor %} {% if form.to|length > 1 %}
{% with remaining=form.to|length|add:"-1" %} {% blocktrans count total=remaining %} And {{ total }} other recipient {% plural %} And {{ total }} other recipients {% endblocktrans %} {% endwith %}
{% endif %}
{% if form.to.errors %}
{% for error in form.to.errors %} {{ error }} {% endfor %}
{% endif %}
{% if form.subject.errors %}
{% for error in form.subject.errors %} {{ error }} {% endfor %}
{% endif %}
{% if form.message.errors %}
{% for error in form.message.errors %} {{ error }} {% endfor %}
{% endif %}
{% trans "Email will be sent to all selected recipients" %}