{% macro fields_errors() %} {% for field in varargs %} {% if field.errors %} {% for error in field.errors %}
{{error}} {% if error == "Email requires confirmation." %}
Confirm Your Account
{% endif %}
{% endfor %} {% endif %} {% endfor %} {% endmacro %}