poli_planning/polyclinic_scheduling/apps/RUG_template/templates/registration/password_reset_confirm.html

27 lines
805 B
HTML
Raw Normal View History

2020-05-13 15:54:40 +02:00
{% 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 %}
2020-05-14 15:20:19 +02:00
<p><strong>{% trans "Set a new password!" %}</strong><br />
2020-05-13 15:54:40 +02:00
{% if validlink %}
2020-05-14 15:20:19 +02:00
{% blocktrans %}Here you can set a new password.{% endblocktrans %}
</p>
<form method="POST">
<table>
{% csrf_token %}
{{ form.as_table }}
<tr>
<td colspan="2">
<input type="submit" value="{% trans "Change my password" %}">
</td>
</tr>
</table>
</form>
2020-05-13 15:54:40 +02:00
{% else %}
2020-05-14 15:20:19 +02:00
{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p>
2020-05-13 15:54:40 +02:00
{% endif %}
2020-05-14 15:20:19 +02:00
2020-05-13 15:54:40 +02:00
{% endblock %}