{% if msg %}

{{msg|safe}}

{% else %}
{% for row in members or [] %} {% endfor %}
Sno Full name Membership No/Member Type Email/Mobile City Status
{{loop.index}} {{row.prefix or ""}}{{row.full_name or ""}}{% if row.full_name: %} {% endif %} {% if row.status_id > 0 : %} {{row.membership_no or ""}}{% if row.membership_no: %}/{% endif %}{{row.member_type}} {% endif %} {{row.email or ""}}{% if row.mobile: %}/{% endif %}{{row.mobile or ""}} {{row.city or ""}} {{row.display_name or ""}}
{% endif %}