{% extends "./template.html" %} {% block content %} {% load static %}

Email Information

{% if to_email_results %}
To: {% for row in to_email_results %} {% if forloop.first %} {{ row.to_customer.customer_email }} {% else %} , {{ row.to_customer.customer_email }} {% endif %} {% endfor %}
{% endif %} {% if cc_email_results %}
Carbon Copy: {% for row in cc_email_results %} {% if forloop.first %} {{ row.cc_customer.customer_email }} {% else %} , {{ row.cc_customer.customer_email }} {% endif %} {% endfor %}
{% endif %} {% if bcc_email_results %}
Blind Carbon Copy: {% for row in bcc_email_results %} {% if forloop.first %} {{ row.bcc_customer.customer_email }} {% else %} , {{ row.bcc_customer.customer_email }} {% endif %} {% endfor %}
{% endif %} {{ email_information_form.media }}
{{ email_information_form.email_subject }}
{{ email_information_form.email_content|safe }}
{% endblock %}