futtern/templates/food_vendor/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

33 lines
780 B
Twig

{% extends 'base.html.twig' %}
{% block title %}FoodVendor{% endblock %}
{% block body %}
<h1>FoodVendor</h1>
<table class="table">
<tbody>
<tr>
<th>Name</th>
<td>{{ food_vendor.name }}</td>
</tr>
</tbody>
</table>
<section>
<h2>known menuitems</h2>
<ul>
{% for item in food_vendor.menuItems %}
<li>
<a href="{{ path('app_menu_item_show', {'id': item.id}) }}">{{ item.name }}</a>
</li>
{% endfor %}
</ul>
</section>
<a href="{{ path('app_food_vendor_index') }}">back to list</a>
<a href="{{ path('app_food_vendor_edit', {'id': food_vendor.id}) }}">edit</a>
{% endblock %}