{% if msg %}

{{msg|safe}}

{% else %}

{{user.prefix or ""}}{{user.full_name or ""}} - Approved({{status[0].approved}}) and Pending({{status[0].pending}}) and Rejected({{status[0].rejected}})

{% for row in members or [] %} {% endfor %}
Sno Full name Email/Mobile City Choosen Type Status
{{loop.index}} {{row.prefix or ""}}{{row.full_name or ""}} {{row.email or ""}}{% if row.mobile: %}/{% endif %}{{row.mobile or ""}} {{row.city or ""}} {{row.type}} {% if row.approved_on == none and row.rejected_on == none %} Pending
{% elif row.rejected_on != none %} Rejected on {{row.rejected_on}} {% else %}Approved on {{row.approved_on}} {% endif %}
{% endif %}