31 lines
823 B
Twig
31 lines
823 B
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}Reservations{% endblock %}
|
|
|
|
{% block body %}
|
|
<h1>Reservations</h1>
|
|
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th>Id</th>
|
|
<td>{{ reservation.id }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>DateHeure</th>
|
|
<td>{{ reservation.DateHeure ? reservation.DateHeure|date('Y-m-d H:i:s') : '' }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Nb_de_prsn</th>
|
|
<td>{{ reservation.NbDePrsn }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<a href="{{ path('app_reservations_index') }}">back to list</a>
|
|
|
|
<a href="{{ path('app_reservations_edit', {'id': reservation.id}) }}">edit</a>
|
|
|
|
{{ include('reservations/_delete_form.html.twig') }}
|
|
{% endblock %}
|