37 lines
820 B
Twig
37 lines
820 B
Twig
|
{% extends 'base.html.twig' %}
|
||
|
|
||
|
{% block title %}Ride{% endblock %}
|
||
|
|
||
|
|
||
|
|
||
|
{% block body %}
|
||
|
<h1>Ride</h1>
|
||
|
|
||
|
<table class="table">
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<th>Id</th>
|
||
|
<td>{{ ride.id }}</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>Label</th>
|
||
|
<td>{{ ride.label }}</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th>Count</th>
|
||
|
<td>{{ ride.count }}</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
|
||
|
|
||
|
|
||
|
<a href="{{ path('ride_index') }}">back to list</a>
|
||
|
|
||
|
<a href="{{ path('ride_edit', {'id': ride.id}) }}">edit</a>
|
||
|
|
||
|
<form method="post" action="{{ path('ride_increment', {'id': ride.id}) }}" onsubmit="return confirm('Attraction complète ?');">
|
||
|
|
||
|
{{ include('ride/_delete_form.html.twig') }}
|
||
|
{% endblock %}
|