{% load static %}
{% if not account_list %}

No records found!

{% endif %} {% if account_list %}
Username
Role
Email
Admin
Status
{% for account in account_list %}
{{ account.username }}
{{ account.groups.all.0.name }}
{{ account.email }}
{% if account.is_admin %} Yes {% else %} No {% endif %}
{% if account.is_active %} Active {% else %} Disabled {% endif %}
{% endfor %}
{% endif %}