summaryrefslogtreecommitdiffstats
path: root/templates/authopenid/sendpw.html
diff options
context:
space:
mode:
authorMike Chen <chagel@gmail.com>2009-07-05 10:23:30 +0800
committerMike Chen <chagel@gmail.com>2009-07-05 10:23:30 +0800
commit4347c2947834fe7f2edf2b457b2d513454fc6a03 (patch)
tree93e9d22d6fb8a6c882e3915a8511a3ac542a1e67 /templates/authopenid/sendpw.html
downloadaskbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.tar.gz
askbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.tar.bz2
askbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.zip
initiliaze git rep
Diffstat (limited to 'templates/authopenid/sendpw.html')
-rw-r--r--templates/authopenid/sendpw.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/templates/authopenid/sendpw.html b/templates/authopenid/sendpw.html
new file mode 100644
index 00000000..237a5cf6
--- /dev/null
+++ b/templates/authopenid/sendpw.html
@@ -0,0 +1,33 @@
+{% extends "base.html" %}
+{% block title %}{% spaceless %}发送新密码{% endspaceless %}{% endblock %}
+
+{% block content %}
+<div id="main-bar" class="">
+ <h3 >发送新密码</h3>
+
+</div>
+<div class="paragraph">
+丢失了您的密码? 你可以在这里重设密码。<br>
+请输入用户名,新的密码会发送到你注册时候填写的电子邮件。
+</div>
+{% if form.errors %}
+<p class="errors"><span class="big">请注意以下错误:</span><br>
+ {% if form.username.errors %}
+ <span class="error">{{ form.username.errors|join:", " }}</span>
+ {% endif %}
+</p>
+{% endif %}
+{% if msg %}
+ <div class="paragraph error">{{ msg }}</div>
+{% endif %}
+
+<div class="aligned">
+ <form action="." method="post" accept-charset="utf-8">
+ <div id="form-row"><label for="id_username">用户名: </label>{{ form.username }}</div>
+
+ <p style="padding-top:10px"><input type="submit" value="重设密码"> <a href="{% url user_signin %}">返回登录</a></p>
+
+ </form>
+ <span class="darkred">注意: 新的密码只有您在激活邮件中的链接后才会被激活。</span>
+</div>
+{% endblock %}