summaryrefslogtreecommitdiff
path: root/tpls
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-08-30 16:58:52 +0200
committerKevin Chabowski <kevin@kch42.de>2013-08-30 16:58:52 +0200
commit11ec26feeabced25281b8637f928a8096690c54b (patch)
treecfbe004673dd4be4fae420ffc1955452e9b8556a /tpls
parent43bf81f08a064bbc2563c8e24f8a825100427b8e (diff)
downloadmailremind-11ec26feeabced25281b8637f928a8096690c54b.tar.gz
mailremind-11ec26feeabced25281b8637f928a8096690c54b.tar.bz2
mailremind-11ec26feeabced25281b8637f928a8096690c54b.zip
Password reset partially implemented.
Diffstat (limited to 'tpls')
-rw-r--r--tpls/pwreset.tpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/tpls/pwreset.tpl b/tpls/pwreset.tpl
new file mode 100644
index 0000000..085f5cf
--- /dev/null
+++ b/tpls/pwreset.tpl
@@ -0,0 +1,17 @@
+{{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="/pwreset?Code={{.Code}}&amp;U={{.UID}}" method="post" accept-charset="UTF-8">
+ <p><strong>Password:</strong> <input type="password" name="Password" /></p>
+ <p><strong>Retype Password:</strong> <input type="password" name="PasswordAgain" /></p>
+ <p><input type="submit" /></p>
+ </form>
+ {{end}}
+{{end}} \ No newline at end of file