generated from 2martens/django-template
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
749 B
19 lines
749 B
{% extends "app/base.html" %} |
|
{% load i18n %} |
|
{% load crispy_forms_tags %} |
|
|
|
{% block title %}{{ site.title }} - {{ title }}{% endblock %} |
|
|
|
{% block content %} |
|
<h1>{{ title }}</h1> |
|
{% if validlink %} |
|
<p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p> |
|
<form method="post" action="{% url "password_reset" %}"> |
|
{% csrf_token %} |
|
{{ form|crispy }} |
|
<button type="submit" class="btn btn-primary">{% trans "Change my password" %}</button> |
|
</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 %} |
|
{% endblock %}
|
|
|