{% extends "layui/base_template.html" %} {% load i18n static %} {% block title %} {% trans 'email_btn_reset_password' %} {% endblock title %} {% block login-main-header %} {% if state == 'done' %}
{% trans 'resetPassword_successful_tips' %}
{% elif state == 'confirm' or state == 'failed' %} {% if state == 'failed' %}{% trans 'app_password_reset_failed' %}
{% endif %} {# Opening the emailed link changes nothing; the reset happens only on this POST. #} {% else %}{% trans 'app_password_reset_failed' %}
{% endif %}