futtern/templates/menu_item/show.html.twig
lubiana 674adcba60
All checks were successful
/ ls (pull_request) Successful in 37s
/ ls (push) Successful in 39s
/ ls (release) Successful in 25s
#42: allow updates to menuitems
2024-08-15 18:22:46 +02:00

26 lines
653 B
Twig

{% extends 'base.html.twig' %}
{% block title %}MenuItem{% endblock %}
{% block body %}
<h1>MenuItem</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ menu_item.id }}</td>
</tr>
<tr>
<th>Name</th>
<td>{{ menu_item.name }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_food_vendor_show', { 'id': menu_item.foodVendor.id}) }}">back to list</a>
<a href="{{ path('app_menu_item_edit', {'id': menu_item.id}) }}">edit</a>
{{ include('menu_item/_delete_form.html.twig') }}
{% endblock %}