HegreEtConfort/templates/intervention/show.html.twig

43 lines
1.2 KiB
Twig

{% extends 'base.html.twig' %}
{% block title %}Intervention{% endblock %}
{% block body %}
<h1>Intervention</h1>
<table class="table">
<tbody>
<tr>
<th>Id</th>
<td>{{ intervention.id }}</td>
</tr>
<tr>
<th>Wording</th>
<td>{{ intervention.Wording }}</td>
</tr>
<tr>
<th>Timestamp</th>
<td>{{ intervention.Timestamp ? intervention.Timestamp|date('Y-m-d H:i:s') : '' }}</td>
</tr>
<tr>
<th>Description</th>
<td>{{ intervention.Description }}</td>
</tr>
<tr>
<th>Address</th>
<td>{{ intervention.Address }}</td>
</tr>
<tr>
<th>Status</th>
<td>{{ intervention.Status }}</td>
</tr>
</tbody>
</table>
<a href="{{ path('app_intervention_index') }}">back to list</a>
<a href="{{ path('app_intervention_edit', {'id': intervention.id}) }}">edit</a>
{{ include('intervention/_delete_form.html.twig') }}
{% endblock %}