2025-05-29 13:24:50 +02:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Les lieux ayant des notes{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<div class="container">
|
|
|
|
<h1>Commerces avec une note</h1>
|
2025-06-06 13:26:44 +02:00
|
|
|
<table class="table table-striped js-sort-table table-hover table-responsive">
|
2025-05-29 13:24:50 +02:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Nom</th>
|
2025-05-29 13:30:18 +02:00
|
|
|
<th>Code postal</th>
|
2025-05-29 13:24:50 +02:00
|
|
|
<th>Note</th>
|
|
|
|
<th>Actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for place in places %}
|
|
|
|
<tr>
|
2025-05-29 13:30:18 +02:00
|
|
|
<td><a href="{{ path('app_admin_commerce', {'id': place.id}) }}">{{ place.name }}
|
|
|
|
<i class="bi bi-pencil"></i>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{place.zipcode}}
|
|
|
|
</td>
|
2025-06-01 23:35:15 +02:00
|
|
|
<td>{{ place.noteContent }}</td>
|
2025-05-29 13:30:18 +02:00
|
|
|
<td><a class="btn btn-primary" href="{{ path('app_admin_commerce', {'id': place.id}) }}">
|
2025-05-29 13:24:50 +02:00
|
|
|
<i class="bi bi-pencil"></i>
|
|
|
|
</a></td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2025-05-29 13:30:18 +02:00
|
|
|
{% endblock %}
|