36 lines
982 B
Twig
36 lines
982 B
Twig
|
{% extends 'base.html.twig' %}
|
||
|
|
||
|
{% block title %}FoodVendor index{% endblock %}
|
||
|
|
||
|
{% block body %}
|
||
|
<h1>FoodVendor index</h1>
|
||
|
|
||
|
<table class="table">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Id</th>
|
||
|
<th>Name</th>
|
||
|
<th>actions</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for food_vendor in food_vendors %}
|
||
|
<tr>
|
||
|
<td>{{ food_vendor.id }}</td>
|
||
|
<td>{{ food_vendor.name }}</td>
|
||
|
<td>
|
||
|
<a href="{{ path('app_food_vendor_show', {'id': food_vendor.id}) }}">show</a>
|
||
|
<a href="{{ path('app_food_vendor_edit', {'id': food_vendor.id}) }}">edit</a>
|
||
|
</td>
|
||
|
</tr>
|
||
|
{% else %}
|
||
|
<tr>
|
||
|
<td colspan="3">no records found</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
<a href="{{ path('app_food_vendor_new') }}">Create new</a>
|
||
|
{% endblock %}
|