This commit is contained in:
Tykayn 2025-02-14 14:25:23 +01:00 committed by tykayn
parent b373892ddc
commit c44ac9c522
25 changed files with 485 additions and 26 deletions

View file

@ -12,6 +12,8 @@
<th>Name</th>
<th>Price</th>
<th>Stock</th>
<th>Image</th>
<th>Comment</th>
<th>actions</th>
</tr>
</thead>
@ -22,6 +24,8 @@
<td>{{ product.name }}</td>
<td>{{ product.price }}</td>
<td>{{ product.stock }}</td>
<td>{{ product.image }}</td>
<td>{{ product.comment }}</td>
<td>
<a href="{{ path('app_product_show', {'id': product.id}) }}">show</a>
<a href="{{ path('app_product_edit', {'id': product.id}) }}">edit</a>
@ -29,7 +33,7 @@
</tr>
{% else %}
<tr>
<td colspan="5">no records found</td>
<td colspan="7">no records found</td>
</tr>
{% endfor %}
</tbody>