{% macro render_order(order) -%}
{{ order.location.name }}

{% if order.stoptime %} Closing time: {{ order.stoptime.strftime("%H:%M") }} ({{ order.stoptime|countdown }}) {% else %}open{% endif %}
Orders: {{ order.items.count() }}

Expand
{%- endmacro %} {% macro render_form_field_errors(field) %} {%- if field.errors %} {%- for error in field.errors %}

{{error}}

{%- endfor %} {%- elif field.description -%}

{{field.description|safe}}

{%- endif %} {% endmacro %}