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 %}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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue