{% macro render_field_with_errors(field, icon) %}
{% if icon %} {% endif %} {{ field(**kwargs) }}
{% endmacro %} {% macro render_field(field, label=False) %} {{ field(**kwargs) }} {% if label %} {{ field.label }} {% endif %} {% endmacro %} {% macro render_error(error) %}
x {{ error }}
{% endmacro %} {% macro render_errors(form) %} {% for field in form %} {% for error in field.errors %} {{ render_error(error) }} {% endfor %} {% endfor %} {% endmacro %} {% macro render_menu(type) %} {% if security.recoverable %}

I forgot my password

{% endif %} {% if security.confirmable %}

Send confirmation

{% endif %} {% if security.registerable %}

Create an account

{% endif %}

Back to login

{% endmacro %}