caisse-bliss/app/Resources/views/festival/show.html.twig

40 lines
1.1 KiB
Twig
Raw Normal View History

2018-04-05 17:24:43 +02:00
{% extends 'base.html.twig' %}
{% block body %}
<h1>Festival</h1>
2018-04-17 14:52:31 +02:00
<table class="table-responsive table-striped table table-bordered table-light">
2018-04-05 17:24:43 +02:00
<tbody>
2018-04-17 14:52:31 +02:00
<tr>
<th>Id</th>
<td>{{ festival.id }}</td>
</tr>
<tr>
<th>Name</th>
<td>{{ festival.name }}</td>
</tr>
<tr>
<th>Datecreation</th>
<td>{% if festival.dateCreation %}{{ festival.dateCreation|date('Y-m-d H:i:s') }}{% endif %}</td>
</tr>
2018-04-05 17:24:43 +02:00
</tbody>
</table>
<ul>
<li>
2018-04-17 14:52:31 +02:00
<a class="btn btn-primary" href="{{ path('festival_index') }}">
<i class="fa fa-arrow-left"></i>
Retour à la liste
</a>
2018-04-05 17:24:43 +02:00
</li>
<li>
2018-04-17 14:52:31 +02:00
<a class="btn btn-primary" href="{{ path('festival_edit', { 'id': festival.id }) }}">edit</a>
2018-04-05 17:24:43 +02:00
</li>
<li>
{{ form_start(delete_form) }}
2018-04-17 14:52:31 +02:00
<input type="submit" value="Delete">
2018-04-05 17:24:43 +02:00
{{ form_end(delete_form) }}
</li>
</ul>
{% endblock %}