cpolis/web/templates/add-user.html

21 lines
836 B
HTML
Raw Normal View History

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