futtern/templates/food_vendor/index.html.twig
lubiana 01354fa70c
All checks were successful
/ ls (pull_request) Successful in 30s
/ ls (push) Successful in 29s
/ ls (release) Successful in 33s
remove vendor id from list
2024-06-26 20:49:00 +02:00

33 lines
908 B
Twig

{% extends 'base.html.twig' %}
{% block title %}FoodVendor index{% endblock %}
{% block body %}
<h1>FoodVendor index</h1>
<table class="table">
<thead>
<tr>
<th>Name</th>
<th>actions</th>
</tr>
</thead>
<tbody>
{% for food_vendor in food_vendors %}
<tr>
<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 %}