allow admin to create user

This commit is contained in:
2023-04-05 20:56:36 +02:00
parent ed28a50d98
commit f609ee1cb4
4 changed files with 46 additions and 4 deletions

View File

@ -4,6 +4,15 @@
<h1>Users</h1>
<form action="/admin/user/new" method="post">
Name: <input type="text" name="name" /><br />
Guest <input type="checkbox" name="is_guest" checked /><br />
<input type="submit" />
</form>
{% for user in users %}
<form action="/admin/user" method="post">
<input type="hidden" name="id" value="{{ user.id }}" />