2012-04-05 15:10:38 +08:00
|
|
|
{% extends "myhome_base.html" %}
|
2011-04-30 13:18:32 +08:00
|
|
|
|
2012-05-18 21:50:48 +08:00
|
|
|
{% block title %}密码重置{% endblock %}
|
2011-04-30 13:18:32 +08:00
|
|
|
|
2011-11-27 17:52:14 +08:00
|
|
|
{% block main_panel %}
|
2012-05-22 17:45:26 +08:00
|
|
|
|
2011-04-30 13:18:32 +08:00
|
|
|
{% if validlink %}
|
|
|
|
|
2012-05-22 17:45:26 +08:00
|
|
|
<div class="narrow-panel">
|
|
|
|
<h2>请输入新密码</h2>
|
|
|
|
<form action="" method="post">
|
|
|
|
<label for="id_new_password1">新密码:</label>
|
|
|
|
{{ form.new_password1 }}
|
|
|
|
{{ form.new_password1.errors }}
|
|
|
|
<label for="id_new_password2">新密码确认:</label>
|
|
|
|
{{ form.new_password2 }}
|
|
|
|
{{ form.new_password2.errors }}
|
2012-06-06 11:52:37 +08:00
|
|
|
<input type="submit" value="提交" class="submit" />
|
2012-05-22 17:45:26 +08:00
|
|
|
</form>
|
|
|
|
</div>
|
2011-04-30 13:18:32 +08:00
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
2012-05-22 17:45:26 +08:00
|
|
|
<div class="text-panel">
|
|
|
|
<p>密码重置失败:重置链接失效。请重新重置。</p>
|
|
|
|
</div>
|
2011-04-30 13:18:32 +08:00
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|