{% extends "shop/base.html" %} {% load i18n %} {% block navbar %}
  • {% trans "Home" %}
  • {% endblock %} {% block content %} {% if validlink %}

    {% trans 'Enter new password' %}

    {% trans "Please enter your new password twice so we can verify you typed it in correctly." %}

    {% csrf_token %} {% trans 'New password:' %}{{ form.new_password1 }}

    {% if form.new_password1.errors %}

    {{ form.new_password2.errors }}

    {% endif %}

    {{ form.new_password2 }}

    {% if form.new_password1.errors %}

    {{ form.new_password2.errors }}

    {% endif %}

    {% else %}

    {% trans 'Password reset unsuccessful' %}

    {% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}

    {% endif %} {% endblock %}