cpolis/web/templates/edit-user.html

14 lines
552 B
HTML
Raw Normal View History

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