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 %}MenuItem{% endblock %}
{% block body %}
<h1>MenuItem</h1>
<h1 class="mb-4">MenuItem</h1>
<table class="table">
<table class="table table-bordered w-auto">
<tbody>
<tr>
<th>Id</th>
@ -25,9 +25,9 @@
<tr>
<th>Aliases</th>
<td>
<ul>
<ul class="list-group list-group-flush">
{% for alias in menu_item.aliases %}
<li>{{ alias.name }}</li>
<li class="list-group-item">{{ alias.name }}</li>
{% endfor %}
</ul>
</td>
@ -36,9 +36,9 @@
</tbody>
</table>
<a href="{{ path('app_food_vendor_show', { 'id': menu_item.foodVendor.id}) }}">back to list</a>
<a href="{{ path('app_menu_item_edit', {'id': menu_item.id}) }}">edit</a>
{{ include('menu_item/_delete_form.html.twig') }}
<div class="d-flex gap-2">
<a class="btn btn-secondary" href="{{ path('app_food_vendor_show', { 'id': menu_item.foodVendor.id}) }}">back to list</a>
<a class="btn btn-primary" href="{{ path('app_menu_item_edit', {'id': menu_item.id}) }}">edit</a>
{{ include('menu_item/_delete_form.html.twig') }}
</div>
{% endblock %}