allow admin to create user
This commit is contained in:
		| @@ -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 }}" /> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user