{% extends "admin/logged_out_base.html" %}{% load i18n %} {% block inner-title %}{% trans 'Password reset' %}{% endblock %} {% block content %}
{% if form.errors and not form.non_field_errors and not form.this_is_the_login_form.errors %}

{% blocktrans count form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}

{% endif %}
{% if validlink %}
{% csrf_token %}
{{ form.new_password1 }}
{% if form.new_password1.errors %} {{ form.new_password1.errors }}{% endif %}
{{ form.new_password2 }}
{% if form.new_password2.errors %} {{ form.new_password2.errors }}{% endif %}

{% else %} {% trans 'Password reset' %}{% endif %}
{% endblock %}