2019-08-11 14:21:59 +00:00
|
|
|
{% extends "base.html" %}
|
2019-08-10 17:00:16 +00:00
|
|
|
{% comment %}
|
|
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
{% endcomment %}
|
2019-08-14 13:15:38 +00:00
|
|
|
{% load i18n crispy_forms_tags %}
|
2019-08-10 17:00:16 +00:00
|
|
|
|
2019-08-14 13:15:38 +00:00
|
|
|
{% block content %}
|
2020-08-21 16:34:20 +00:00
|
|
|
<div class="card bg-light">
|
|
|
|
<h3 class="card-header text-center">
|
|
|
|
{{ title }}
|
|
|
|
</h3>
|
|
|
|
<div class="card-body">
|
|
|
|
{% if validlink %}
|
2019-08-14 13:15:38 +00:00
|
|
|
<p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
|
|
|
|
<form method="post">{% csrf_token %}
|
|
|
|
{{ form | crispy }}
|
|
|
|
<input class="btn btn-primary" type="submit" value="{% trans 'Change my password' %}">
|
|
|
|
</form>
|
2020-08-21 16:34:20 +00:00
|
|
|
{% else %}
|
|
|
|
<p>
|
|
|
|
{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|