{% extends "admin/base.html" %} {% from "admin/macros/forms.html" import csrf %} {% block title %}Users{% endblock %} {% block content %}
{% if perms.auth.add_user %} New user {% endif %}
{% for item in users %} {% else %} {% endfor %}
# Actions Username Name Email Roles Status Last login
{{ start_index + loop.index0 }} {% if perms.auth.change_user %} Edit {% endif %} {{ item.username }} {% if item.is_superuser %}superuser{% endif %} {{ item.full_name }} {{ item.email }} {{ roles_by_user.get(item.id, 0) }} {% if item.is_active %} active {% else %} inactive {% endif %} {{ item.last_login_at | format_datetime }}
No users found.
{% endblock %}