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

My Account

First Name: {{ current_user.username }}
Email: {{ current_user.email }}
User Type: {{ current_user.user_role.text }}
{% if current_user.user_role >= UserRoles.ADMIN %}
Create User
{% for user in users %}
{% if current_user.user_role >= UserRoles.ADMIN %} {% else %} {% endif %} {% endfor %}
ID Name Email User Type Save
{{ user.id }} {{ user.username }} {{ user.email }} {{ user.usertype.type }}
{% endif %} {% endblock %}