{% extends "memberships/base.html" %} {% load membership_tags %} {% load base_tags %} {% load base_filters %} {% load perm_tags %} {% load i18n %} {% block title %}{% trans "Delete Membership Entry" %}{% endblock %} {% block meta_description %}{{ entry.get_description }}{% endblock %} {% block meta_keywords %}{{ entry.get_keywords }}{% endblock %} {% block meta_canonical_url %}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block body %}
{% if entry.is_renewal %}

{{ entry.app.name }} {% trans "Renewal" %}

{% else %}

{{ entry.app.name }} {% trans "Submission" %}

{% endif %} {% if is_confirmation and entry.app.confirmation_text %}
{{ entry.app.confirmation_text|safe|urlize }}

{% endif %}
{% trans "Submitted" %} {{ entry.entry_time|date_short }} {% if request.user.is_superuser %} {% trans "Edit Entry" %} {% endif %}
{{ entry.status_msg }} {% if entry.decision_dt %} {{ entry.decision_dt|date_long }} {% endif %}

{% trans "Are you sure you want to permanently delete this entry?" %}

{% csrf_token %}
{% if entry.is_approved %}
{{ entry.membership.member_number }}
{% endif %} {% for field in entry.fields.all %} {% if field.field.field_type == 'FileField' %}
{{ field.field.label }}
{% else %}
{{ field.field.label }}
{% with field.corporate_membership_name as cm_name %} {% if cm_name %} {{ cm_name }} (ID:{{ field.value }}) {% else %} {{ field.value }} {% endif %} {% endwith %}
{% endif %} {% endfor %} {% if request.user.is_superuser %} {% if entry.is_approved == 0 or entry.is_approved == 1 %} {% else %} {% if form %}
{% csrf_token %}
{{ form }}
{% if entry.is_renewal %} {% else %} {% endif %}
{% endif %} {% endif %} {% endif %}
{% if entry.membership %} {% endif %}
{% endblock %}