wiederaufbau
This commit is contained in:
parent
fe9820ef4b
commit
72ded82226
9 changed files with 217 additions and 34 deletions
|
@ -1,7 +1,8 @@
|
|||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block body %}
|
||||
{{ include('_form.html.twig') }}
|
||||
{% 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>
|
||||
|
|
|
@ -53,6 +53,22 @@
|
|||
{{ orderItem.menuItem.price|cents_to_eur }}
|
||||
</td>
|
||||
<td>
|
||||
<a
|
||||
href="{{ path(
|
||||
'app_foodorder_item_copy',
|
||||
{
|
||||
'orderItem': orderItem.id
|
||||
}
|
||||
) }}"
|
||||
>+1</a> |
|
||||
<a
|
||||
href="{{ path(
|
||||
'app_foodorder_item_remove',
|
||||
{
|
||||
'orderItem': orderItem.id
|
||||
}
|
||||
) }}"
|
||||
>del</a> |
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
@ -90,4 +106,6 @@
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
{% include('_form.html.twig') %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue