{% if msg %}

{{msg|safe}}

{% else %}
{% for row in members or [] %} {% endfor %}
Sno Full name Membership No Email/Mobile City Status
{{loop.index}} {{row.prefix or ""}}{{row.full_name or ""}} {{row.membership_no or ""}} {{row.email or ""}}{% if row.mobile: %}/{% endif %}{{row.mobile or ""}} {{row.city or ""}} {% if row.total_count != 0%} Approved - {{row.approved_count}}
pending - {{row.pending_count}}
Rejected - {{ row.rejected_count}} {% else %} Not selected by any one {% endif %}
{% endif %}