{% csrf_token %} {% load staticfiles %} {% if organisation_permissions > 1 or contact_history_permission > 0 %}

Contact History

{{ contact_history_form.media }}
{{ 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 contact_history_results %} {% for row in contact_history_results %}
{{ row.contact_type }} - Submitted by {{ row.user_id }} on {{ row.contact_date }}
{% if row.document_key %} {% endif %}
{% endfor %} {% endif %}