{% extends "layout.html" %} {% block content %}
| Username | Role | Status | Created | Actions | |
|---|---|---|---|---|---|
| {{ user.username }} | {{ user.email }} | {% if user.is_admin %}Admin{% else %}User{% endif %} | {% if user.is_blocked %}Blocked{% else %}Active{% endif %} | {{ user.created_at.strftime('%Y-%m-%d') }} | Edit {% if user.id != g.user.id %} {% if user.is_blocked %} Unblock {% else %} Block {% endif %} {% endif %} |