otfe/views/user/user.gtpl

11 lines
302 B
Plaintext
Raw Normal View History

2022-02-23 12:07:09 +00:00
{{define "content"}}
<h1>{{.User.Name}}</h1>
<h2>Username: {{.User.Username}}</h2>
<h2>Email: {{.User.Email}}</h2>
<h2>Password: {{.User.Password}}</h2>
<form action="/user/{{.User.Username}}/delete" method="post">
<button type="submit">Delete</button>
</form>
<h1>{{getId .User.ID}}</h1>
{{end}}