diff options
Diffstat (limited to 'tpls')
-rw-r--r-- | tpls/forgotpw.tpl | 16 | ||||
-rw-r--r-- | tpls/login.tpl | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/tpls/forgotpw.tpl b/tpls/forgotpw.tpl new file mode 100644 index 0000000..27dda6d --- /dev/null +++ b/tpls/forgotpw.tpl @@ -0,0 +1,16 @@ +{{define "title"}}Reset Password{{end}} + +{{define "content"}} + {{if .Success}} + <div class="success">{{.Success}}</div> + {{else}} + {{if .Error}} + <div class="error">{{.Error}}</div> + {{end}} + + <form action="/forgotpw" method="post" accept-charset="UTF-8"> + <p><strong>E-Mail:</strong> <input type="text" name="Mail" /></p> + <p><input type="submit" /></p> + </form> + {{end}} +{{end}}
\ No newline at end of file diff --git a/tpls/login.tpl b/tpls/login.tpl index 34541e4..b3a63e2 100644 --- a/tpls/login.tpl +++ b/tpls/login.tpl @@ -12,6 +12,7 @@ <p><strong>E-Mail</strong> <input type="text" name="Mail" /></p> <p><strong>Password</strong> <input type="password" name="Password" /></p> <p><input type="submit" /></p> + <p><a href="/forgotpw">Forgot your password?</a></p> </form> {{end}} {{end}}
\ No newline at end of file |