summaryrefslogtreecommitdiff
path: root/tpls/pwreset.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpls/pwreset.tpl')
-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