HegreEtConfort/templates/stock/show.html.twig

35 lines
830 B
Twig
Raw Permalink Normal View History

2024-12-20 10:07:22 +01:00
{% extends 'base.html.twig' %}
{% block title %}Stock{% endblock %}
{% block body %}
<h1>Stock</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ stock.id }}</td>
</tr>
<tr>
<th>Wording</th>
<td>{{ stock.Wording }}</td>
</tr>
<tr>
<th>Description</th>
<td>{{ stock.Description }}</td>
</tr>
<tr>
<th>Quantity</th>
<td>{{ stock.Quantity }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_stock_index') }}">back to list</a>
<a href="{{ path('app_stock_edit', {'id': stock.id}) }}">edit</a>
{{ include('stock/_delete_form.html.twig') }}
{% endblock %}