{% extends "base.html" %} {% block title %}User Management — Admin{% endblock %} {% block content %}
| Name | Role | Status | Actions | |
|---|---|---|---|---|
| {{ u.full_name }} | {{ u.email }} {% if user.role == 'superadmin' and u.id != user.id %} {% endif %} | {{ u.role }} {% if user.role == 'superadmin' and u.id != user.id %} {% endif %} | {{ 'Active' if u.is_active else 'Inactive' }} {% if user.role == 'superadmin' and u.id != user.id %} {% endif %} | {% if u.id != user.id %} {% if user.role == 'superadmin' %} {% endif %} {% if user.role == 'superadmin' and not u.is_active %} {% endif %} {% else %} You {% endif %} |