14 lines
574 B
HTML
14 lines
574 B
HTML
{{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" value="Aktualisieren" hx-post="/update-user/" hx-target="#page-content" />
|
|
</form>
|
|
{{end}}
|