23 lines
697 B
Plaintext
23 lines
697 B
Plaintext
|
{% extends "base" %}
|
||
|
|
||
|
{% block content %}
|
||
|
|
||
|
<h1>Users</h1>
|
||
|
|
||
|
{% for user in users %}
|
||
|
<form action="/admin/user" method="post">
|
||
|
<input type="hidden" name="id" value="{{ user.id }}" />
|
||
|
Name: {{ user.name }}<br />
|
||
|
Guest <input type="checkbox" name="is_guest" {% if user.is_guest %} checked="true"{% endif %} /><br />
|
||
|
Cox <input type="checkbox" name="is_cox" {% if user.is_cox %} checked="true"{% endif %} /><br />
|
||
|
Admin <input type="checkbox" name="is_admin" {% if user.is_admin %} checked="true"{% endif %} /><br />
|
||
|
{% if user.pw %}
|
||
|
<a href="/admin/user/{{ user.id }}/reset-pw">RESET PW</a>
|
||
|
{% endif %}
|
||
|
<input type="submit" />
|
||
|
</form>
|
||
|
<hr />
|
||
|
{% endfor %}
|
||
|
|
||
|
{% endblock content %}
|