{% load i18n %} {% if token %}{% url 'forgot_password' token as forgot_password_url %} {% else %}{% url 'forgot_password' as forgot_password_url %}{% endif %} {% if not readonly %} {% trans "Forgot your password?" %} {% endif %}