addressbook/templates/admin/users_add.html.php

30 lines
837 B
PHP
Raw Normal View History

2022-10-24 18:37:32 +02:00
<?php include dirname(path: __DIR__) . '/_header.html.php'; ?>
<form method="POST">
<label for="nick">Username</label>
<input type="text" name="nick" id="nick" required>
<br>
2022-10-24 20:04:36 +02:00
<label for="new_password">Password</label>
2022-10-24 20:03:43 +02:00
<input type="password" name="new_password" id="new_password" required>
2022-10-24 18:37:32 +02:00
<br>
<label for="first">First</label>
<input type="text" name="first" id="first" required>
<br>
<label for="last">Last</label>
<input type="text" name="last" id="last" required>
<br>
2022-10-24 18:43:43 +02:00
<label for="is_admin">Is Admin</label>
2022-10-24 18:37:32 +02:00
<input type="checkbox" name="is_admin" id="is_admin">
<br>
<!-- maybe later -->
<!-- <input type="hidden" name="_csrf" value="csrf_token" -->
<input type="submit" value="Save">
</form>
<?php include dirname(path: __DIR__) . '/_footer.html.php' ?>