diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-08-30 22:53:59 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-08-30 22:53:59 +0200 |
commit | d4fe97a9a5437d71a5a29f413ba7be6efe5f7da3 (patch) | |
tree | 1df00e016300304318997e8f04053bf523b8d85e /tpls | |
parent | 11ec26feeabced25281b8637f928a8096690c54b (diff) | |
download | mailremind-d4fe97a9a5437d71a5a29f413ba7be6efe5f7da3.tar.gz mailremind-d4fe97a9a5437d71a5a29f413ba7be6efe5f7da3.tar.bz2 mailremind-d4fe97a9a5437d71a5a29f413ba7be6efe5f7da3.zip |
Password reset implemented
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 |