{% extends "cosinnus/base.html" %} {% load i18n cosinnus_tags widget_tweaks %} {% block page_title %}{% trans 'Password reset' %}{% endblock %} {% block jshead %} {% comment %} This page deals with authentication data and loads only the most necessary vendor scripts! {% endcomment %} {% endblock jshead %} {% block leftnav %} {% include "cosinnus/registration/leftnav.html" with current_page="reset_password" %} {% endblock leftnav %} {% block breadcrumb %} {{ block.super }}
  • {% trans "Password reset" %}
  • {% endblock %} {% block content %} {% if validlink %}
    {% csrf_token %}
    {{ form.non_field_errors }}

    {% trans 'Enter new password' %}

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

    {# Regular Field #} {% trans "New password" as newpassword1_label %} {% trans "Enter a password you don't use anywhere else. The longer the better!" as newpassword1_legend %} {% trans "New password" as newpassword1_placeholder %} {% include 'cosinnus/fields/default_field.html' with field=form.new_password1 legend=newpassword1_legend label=newpassword1_label placeholder=newpassword1_placeholder first=True %} {# Regular Field #} {% trans "Repeat your password just to make sure" as newpassword2_label %} {% trans "New password confirmation" as newpassword2_placeholder %} {% include 'cosinnus/fields/default_field.html' with field=form.new_password2 label=newpassword2_label placeholder=newpassword2_placeholder %}
    {% 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 content %}