{% extends "base.html" %} {% block title %}Dungeon Dashboard{% endblock %} {% block content %}

Dungeon Dashboard

{% if let Some(err) = error %}
{{ err }}
{% endif %}

Users

{% for user in users %} {% endfor %}
ID Username Role Actions
{{ user.id }} {{ user.username }} {{ user.role }} {% if current_user.role == "admin" %}
{% if user.id != current_user.id %}
{% endif %}
{% endif %}
{% if current_user.role == "admin" %}

Add User

{% endif %}
{% endblock %}