Otfe/views/user/users.gtpl

18 lines
276 B
Plaintext
Raw Permalink Normal View History

2022-02-23 12:07:09 +00:00
{{define "content"}}
<h1>{{.Title}}</h1>
<ul>
{{range $i, $a := .Users}}
<li>
<a href="/user/{{$a.Username}}">{{$a.Username}}</a>
</li>
{{end}}
</ul>
<form action="/user/new">
<button type="submit">New User</button>
</form>
{{end}}