futtern/templates/food_order/orderitem.html.twig
2024-03-17 21:05:03 +01:00

12 lines
358 B
Twig

{% extends 'base.html.twig' %}
{% block body %}
{% include('_form.html.twig') %}
{% include('_form.html.twig') with {'form': extraForm, 'button_label': 'add extra'} only %}
<datalist id="item-extra-list">
{% for item in extras %}
<option value="{{ item.name }}"></option>
{% endfor %}
</datalist>
{% endblock %}