all repos — auth-boilerplate @ main

A simple Go web-app boilerplate.

templates/auth-new_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">
 8    <label>
 9        <span>New password:</span>
10        <input type="password" name="password" placeholder="Max 56 chars, ASCII only" required />
11    </label>
12    <input type="submit" value="Reset password" />
13</form>
14{{end}}