{# backend/templates/admin.html #} {% extends "base.html" %} {% block content %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for cat, msg in messages %} {% endfor %}
{% endif %} {% endwith %}
{% for user in users %} {% endfor %}
ID Username Email Active Action
{{ user.id }} {{ user.username }} {{ user.email }} {% if user.is_active %} Yes {% else %} No {% endif %} {% if not user.is_active %} Approve {% endif %} Delete
{# ========== Change Password Modal ========== #} {% block scripts %} {{ super() }} {% endblock %} {% endblock %}