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