{% macro breadcrumbs(items=[], current=None) %}
{% endmacro %} {% macro nav_item(title, link, match_endpoint=None, matched=None, right=False) -%} {%- if matched == None -%} {%- set matched = match_endpoint != None and request.endpoint != None and (request.endpoint == match_endpoint or match_endpoint.endswith('.') and request.endpoint.startswith(match_endpoint)) -%} {%- endif -%}{% for error in field.errors %} {{ error }} {% endfor %}
{% else %}{{ field.description }}
{% endif %}{{ error }}