29 lines
643 B
Twig
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 %}
|