{% load i18n rest_framework %} {% if success %}

{% trans "We've emailed you instructions for setting your password, if an account exists with the email you entered. You should receive them shortly." %}

{% trans "If you don't receive an email, please make sure you've entered the address you registered with, and check your spam folder." %}

{% else %}
{% trans "Forgotten your password? Enter your email address below, and we'll email instructions for setting a new one." %}
{% if request.method == 'POST' %}
{% if error_message %} {{ error_message }} {% else %} {% trans 'There have been errors in the data you submitted.' %} {% endif %}
{% endif %}
{% render_form serializer %}
{% endif %}