\#40 add list of menuitems in foodvendor show

This commit is contained in:
lubiana 2024-07-17 21:16:44 +02:00
parent a0d277464d
commit add3631376
No known key found for this signature in database
2 changed files with 60 additions and 0 deletions

View file

@ -14,6 +14,15 @@
</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>