add orm and tests
This commit is contained in:
parent
a32bf4ce7d
commit
a541338909
23 changed files with 1666 additions and 23 deletions
26
templates/food_vendor/show.html.twig
Normal file
26
templates/food_vendor/show.html.twig
Normal file
|
@ -0,0 +1,26 @@
|
|||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}FoodVendor{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>FoodVendor</h1>
|
||||
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<td>{{ food_vendor.id }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<td>{{ food_vendor.name }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<a href="{{ path('app_food_vendor_index') }}">back to list</a>
|
||||
|
||||
<a href="{{ path('app_food_vendor_edit', {'id': food_vendor.id}) }}">edit</a>
|
||||
|
||||
{{ include('food_vendor/_delete_form.html.twig') }}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue