This commit is contained in:
lubiana 2025-06-18 20:12:17 +02:00
parent c99032044d
commit 5cb66c5012
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
34 changed files with 1236 additions and 132 deletions

View file

@ -3,9 +3,9 @@
{% block title %}FoodVendor{% endblock %}
{% block body %}
<h1>FoodVendor</h1>
<h1 class="mb-4">FoodVendor</h1>
<table class="table">
<table class="table table-bordered w-auto">
<tbody>
<tr>
<th>Name</th>
@ -18,23 +18,22 @@
</tbody>
</table>
<section>
<section class="mb-4">
<h2>known menuitems</h2>
<ul>
<ul class="list-group list-group-flush">
{% for item in food_vendor.menuItems %}
<li>
<li class="list-group-item">
<a href="{{ path('app_menu_item_show', {'id': item.id}) }}">{{ item.name }}</a>
{% if(item.aliasOf) %}
(alias of: {{ item.aliasOf.name }})
<span class="text-muted">(alias of: {{ item.aliasOf.name }})</span>
{% endif %}
</li>
{% endfor %}
</ul>
</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>
<div class="d-flex gap-2">
<a class="btn btn-secondary" href="{{ path('app_food_vendor_index') }}">back to list</a>
<a class="btn btn-primary" href="{{ path('app_food_vendor_edit', {'id': food_vendor.id}) }}">edit</a>
</div>
{% endblock %}