{% csrf_token %} {{ contact_history_form.media }} {% if customer_permissions > 1 or contact_history_perm > 0 %}

Contact History

{{ contact_history_form.contact_type }}
{{ contact_history_form.contact_date }}
{{ contact_history_form.contact_history }}
{{ contact_history_form.contact_attachment }}
{% else %}

Contact History

{% endif %} {% if customer_contact_history %} {% for row in customer_contact_history %}
{{ row.contact_type }} - Submitted by {{ row.user_id }} on {{ row.contact_date }}
{% if row.document_key %} {% endif %}
{% endfor %} {% endif %}