{# vim: set et ts=8 sts=2 sw=2 ai: #} {% extends "admin.html" %} {% block content %}

Edit User

{# class="w-400 mw-full" #}

Flags and Permissions

{% for label, name, value, note in [ ("Approved","is_approved",user.is_approved,""), ("Admin","is_admin",user.is_admin,"Users flagged as admins always have all the permissions."), ("Read","allow_read",user.allow_read,""), ("Write","allow_write",user.allow_write,""), ("Upload","allow_upload",user.allow_upload,""), ] %}
{% if note %}
{{ note }}
{% endif %}
{% endfor %} {# #} Cancel
{# card #}
{# w-600 container #}

Delete User

{# class="w-400 mw-full" #}
{# card #}
{# w-600 container #} {% endblock %}