{% extends "layout.html" %} {% set active_page = "locations" -%} {% import "utils.html" as util %} {% block container %}

{{ location.name }}

{% if location.address %} {{ location.address }}
{% endif %} {% if location.telephone %}{{ location.telephone }}
{% endif %} {% if location.website %} {{ location.website }}
{% endif %} {% if location.osm %} {{ location.osm }}
{% endif %} {% if not current_user.is_anonymous() %} Create order {% endif %}
{% if location.address %}
{% endif %}

Products

{% for dish in location.dishes -%} {%- endfor %}
NameDescriptionPrice
{{ dish.name or dish.id }} {{ dish.description or "" }} {% if dish.choices %}
{% set comma = joiner(",") %} {% for choice in dish.choices %}{{ comma() }} {{ choice[1].name }}{% endfor %}
    {% for type, choice in dish.choices %}
  • {{ choice.name }}{{ choice.description if choice.description }}{{ " (choose one)" if type == "single_choice" }}
      {% for option in choice.options %}
    • {{ option.name }}{% if option.description %}: {{ option.description}}{% endif %}{% if option.price %}: {{ option.price | euro }}{% endif %}
    • {% endfor %}
  • {% endfor %}
{% endif %}
{{ dish.price_range()|price_range(true) }}
{% endblock %} {% block styles %} {{ super() }} {% endblock %} {% block scripts %} {{ super() }} {% if location.address %} {% endif %} {% endblock %}