futtern/templates/food_vendor/show.html.twig
lubiana add3631376
All checks were successful
/ ls (pull_request) Successful in 33s
/ ls (push) Successful in 31s
/ ls (release) Successful in 34s
\#40 add list of menuitems in foodvendor show
2024-07-17 21:19:01 +02:00

29 lines
643 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>
{% for item in food_vendor.menuItems %}
<code>{{ item.name }}</code>
{% endfor %}
</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 %}