forked from lubiana/futtern
booty
This commit is contained in:
parent
c99032044d
commit
5cb66c5012
34 changed files with 1236 additions and 132 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue