1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-19 07:27:56 +00:00
seahub/templates/registration/password_reset_confirm.html
2012-10-30 14:42:21 +08:00

31 lines
816 B
HTML

{% extends "myhome_base.html" %}
{% load i18n %}
{% block title %}{% trans "Password Reset" %}{% endblock %}
{% block main_panel %}
{% if validlink %}
<div class="narrow-panel">
<h2>{% trans "Input new password" %}</h2>
<form action="" method="post">
<label for="id_new_password1">{% trans "New Password: " %}</label>
{{ form.new_password1 }}
{{ form.new_password1.errors }}
<label for="id_new_password2">{% trans "Confirm Password: " %}</label>
{{ form.new_password2 }}
{{ form.new_password2.errors }}
<input type="submit" value="{% trans "Submit" %}" class="submit" />
</form>
</div>
{% else %}
<div class="text-panel">
<p>{% trans "Failed to reset password: this link is no longer available." %}</p>
</div>
{% endif %}
{% endblock %}