mirror of
https://forge.chapril.org/tykayn/caisse-bliss
synced 2025-10-09 17:02:47 +02:00
up templates
This commit is contained in:
parent
71bce538af
commit
a39b6239b0
71 changed files with 1536 additions and 262 deletions
35
templates/group_of_products/index.html.twig
Normal file
35
templates/group_of_products/index.html.twig
Normal file
|
@ -0,0 +1,35 @@
|
|||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}GroupOfProducts index{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>GroupOfProducts index</h1>
|
||||
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Id</th>
|
||||
<th>Name</th>
|
||||
<th>actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for group_of_product in group_of_products %}
|
||||
<tr>
|
||||
<td>{{ group_of_product.id }}</td>
|
||||
<td>{{ group_of_product.name }}</td>
|
||||
<td>
|
||||
<a href="{{ path('app_group_of_products_show', {'id': group_of_product.id}) }}">show</a>
|
||||
<a href="{{ path('app_group_of_products_edit', {'id': group_of_product.id}) }}">edit</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="3">no records found</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<a href="{{ path('app_group_of_products_new') }}">Create new</a>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue