{{ dish.name }}
{{ dish.price_range() | price_range }}
{% if dish.description %}{{ dish.description }}
{% endif %}
{% for (choice_type, choice) in dish.choices %}
{% endfor %}
{{ form.comment.label }}
{{ form.comment(class='form-control', placeholder='Fill in comment, when applicable') }}
{{ util.render_form_field_errors(form.comment) }}
{% if current_user.is_anonymous() %}
{{ form.user_name.label(class='control-label') }}
{{ form.user_name(class='form-control', placeholder='Fill in your name...') }}
{{ util.render_form_field_errors(form.user_name) }}
{% endif %}
{{ form.submit_button(class='btn btn-primary') }}
{{ dish_quantity }} × {{ dish_name }}
{% if has_comments -%}{% for comment, items in dish_comment_groups -%}- {{ items | length }} ×
{% if comment %}
{% set semicolon = joiner(";") %}
{% for comment_part in comment %}{{ semicolon() }} {{ comment_part }}{% endfor %}
{% else %}No comment
{% endif %} for {{ items | map(attribute="for_name") | join(", ") }}
{% endfor %}
{% else %} for {{ dish_comment_groups[0][1] | map(attribute="for_name") | join(", ") }} {%- endif %}