2024-02-24 10:28:12 +01:00
|
|
|
{{define "page-content"}}
|
2024-02-24 10:56:12 +01:00
|
|
|
<h2>Neuer Benutzer</h2>
|
2024-02-24 10:28:12 +01:00
|
|
|
<form>
|
2024-02-24 12:10:34 +01:00
|
|
|
<input required name="username" placeholder="Benutzername" type="text" />
|
|
|
|
<input required name="password" placeholder="Passwort" type="password" />
|
|
|
|
<input required name="password2" placeholder="Passwort wiederholen" type="password" />
|
2024-02-24 10:28:12 +01:00
|
|
|
|
2024-02-24 12:10:34 +01:00
|
|
|
<input required name="first-name" placeholder="Vorname" type="text" />
|
|
|
|
<input required name="last-name" placeholder="Nachname" type="text" />
|
2024-02-24 10:28:12 +01:00
|
|
|
|
|
|
|
<label for="writer">Schreiber</label>
|
2024-02-24 12:10:34 +01:00
|
|
|
<input required id="writer" name="role" type="radio" value="writer" />
|
2024-02-24 10:28:12 +01:00
|
|
|
<label for="editor">Redakteur</label>
|
2024-02-24 12:10:34 +01:00
|
|
|
<input required id="editor" name="role" type="radio" value="editor" />
|
2024-02-24 10:28:12 +01:00
|
|
|
<label for="admin">Admin</label>
|
2024-02-24 12:10:34 +01:00
|
|
|
<input required id="admin" name="role" type="radio" value="admin" />
|
2024-02-24 10:28:12 +01:00
|
|
|
|
|
|
|
<input type="submit" value="Anlegen" hx-post="/add-user/" hx-target="#page-content" />
|
|
|
|
</form>
|
|
|
|
{{end}}
|