{% extends "account/base.html" %} {% block title %}{{ page_title(_("Change Password")) }}{% endblock %} {% block content %}

{% if token_fail %}{{ _("Bad Token" %}{% else %}{% trans "Change Password") }}{% endif %}

{% if token_fail %}

{% trans passwd_reset_url=url('account_reset_password') %}The password reset link was invalid, possibly because it has already been used. Please request a new password reset.{% endtrans %}

{% else %} {% if form %}
{{ csrf() }} {{ form.as_p() }}
{% else %}

{{ _("Your password is now changed.") }}

{% endif %} {% endif %} {% endblock %}