{% extends "base.html" %} {% block content %}

Manage Users

{% for user in users %} {% endfor %}
ID Username Email Role Status Actions
{{ user.id }} {{ user.username }} {{ user.email }} {{ user.role.capitalize() }} {% if user.is_active %} Active {% else %} Suspended {% endif %} {% if user.id != current_user.id %} {% if user.is_active %}
{% else %}
{% endif %}
{% if user.role == 'consultant' %}
{% endif %} {% else %} Cannot manage self {% endif %}
{% endblock %}