all repos — auth-boilerplate @ 5dad190cf2035dafa6b9735c198d7f2e1efdc130

A simple Go web-app boilerplate.

templates/auth-reset_password.tmpl (view raw)

 1{{ extends "auth.tmpl" }}
 2
 3{{define "title" -}}Reset password{{end}}
 4
 5{{define "auth" -}}
 6<h1>Reset password</h1>
 7<form method="post" action="/reset-password">
 8    <label>
 9        <span>Email:</span>
10        <input type="email" name="email" placeholder="Email" required />
11    </label>
12    <input type="submit" value="Reset password" />
13</form>
14<a href="/login">Login</a><br />
15<a href="/register">Sign up</a>
16{{end}}