20 lines
812 B
HTML
20 lines
812 B
HTML
{{define "page-content"}}
|
|
<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}}
|