templates/reset_pass.html (view raw)
1{{template "header" .}}
2<h1>Reset Password</h1>
3<form action="/reset_password" method="post">
4 <div>
5 <label for="username">Username</label><br>
6 <input
7 id="username"
8 name="username"
9 size="32"
10 type="text"
11 value="{{.AuthUser}}"
12 />
13 </div>
14 <div>
15 <label for="email">Email</label>
16 <input id="email" name="email" size="64" type="text" value="{{.Email}}" />
17 </div>
18 <div class="error">{{ range .Errors}}{{.}}<br>{{end}} </div>
19 <div>
20 <input
21 class="button"
22 id="submit"
23 name="submit"
24 type="submit"
25 value="Save"
26 />
27 </div>
28</form>
29<a href="/reset_password">Reset password</a>
30{{template "footer" .}}