cpolis/web/templates/edit-user.html

20 lines
709 B
HTML
Raw Permalink Normal View History

2024-03-11 21:08:27 +01:00
{{define "page-content"}}
<form>
2024-03-28 08:41:38 +01:00
<div>
<input name="username" type="text" value="{{.UserName}}" />
<input name="first-name" type="text" value="{{.FirstName}}" />
<input name="last-name" type="text" value="{{.LastName}}" />
</div>
2024-03-11 21:08:27 +01:00
2024-03-28 08:41:38 +01:00
<div>
<input name="old-password" placeholder="Altes Passwort" type="password" />
<input name="password" placeholder="Neues Passwort" type="password" />
<input name="password2" placeholder="Wiederholen" type="password" />
</div>
2024-03-11 21:08:27 +01:00
2024-03-12 20:27:39 +01:00
<input type="submit" value="Aktualisieren" hx-post="/update-user/" hx-target="#page-content" />
2024-03-11 21:08:27 +01:00
</form>
2024-03-28 08:41:38 +01:00
<button hx-get="/hub/" hx-target="#page-content">Abbrechen</button>
2024-03-11 21:08:27 +01:00
{{end}}