28 lines
621 B
Cheetah
28 lines
621 B
Cheetah
{{define "title"}}Account{{end}}
|
|
|
|
{{define "main"}}
|
|
<h2>Account</h2>
|
|
{{if .Form}}
|
|
<table>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>{{.Form.Name}}</th>
|
|
</tr>
|
|
<tr>
|
|
<th>Email</th>
|
|
<th>{{.Form.Email}}</th>
|
|
</tr>
|
|
<tr>
|
|
<th>Joined</th>
|
|
<th>{{.Form.Joined}}</th>
|
|
</tr>
|
|
</table>
|
|
{{else}}
|
|
<p>There's nothing to see here... yet!</p>
|
|
{{end}}
|
|
<form action='/account/password' method='GET'>
|
|
<div>
|
|
<input type='submit' value='Change password'>
|
|
</div>
|
|
</form>
|
|
{{end}} |