{% extends 'account/_auth_layout.html' %}{% load static %}{% load i18n %} {% block main %} {% if authentication_text.title %}{{ authentication_text.title }}{% else %}{% trans 'Set a new password' %}{% endif %} {% if authentication_text.description %}{{ authentication_text.description|linebreaksbr }}{% endif %} {% if token_fail %} {% trans "The password reset link is invalid or has expired." %} {% trans "Send a new request" %} {% else %} {% csrf_token %} {% if form.non_field_errors %} {% for error in form.non_field_errors %} {{ error }} {% endfor %} {% endif %} {% trans 'New password' %} {% for error in form.password1.errors %} {{ error }} {% endfor %} {% trans 'Confirm password' %} {% for error in form.password2.errors %} {{ error }} {% endfor %} {% if authentication_text.submit_text %}{{ authentication_text.submit_text }}{% else %}{% trans 'Save new password' %}{% endif %} {% endif %} {% endblock %}
{{ authentication_text.description|linebreaksbr }}
{{ error }}