26 lines
663 B
HTML
26 lines
663 B
HTML
|
{% extends 'base.html' %} <!-- Add this for inheritance -->
|
||
|
{% load i18n %}
|
||
|
|
||
|
{% block title %}{% trans "Set a new password!" %}{% endblock %}
|
||
|
{% block pagetitle %}{% trans "Set a new password!" %}{% endblock %}
|
||
|
{% block content %}
|
||
|
<p>
|
||
|
<strong>{% trans "Set a new password!" %}</strong>
|
||
|
{% if validlink %}
|
||
|
<form method="POST">
|
||
|
<table>
|
||
|
{% csrf_token %}
|
||
|
{{ form.as_table }}
|
||
|
<tr>
|
||
|
<td>
|
||
|
<input type="submit" value="Change my password">
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</form>
|
||
|
{% else %}
|
||
|
<p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p>
|
||
|
{% endif %}
|
||
|
</p>
|
||
|
{% endblock %}
|