lister les commerces avec une note
This commit is contained in:
parent
cae369c9cd
commit
42b345844e
5 changed files with 32 additions and 12 deletions
|
@ -9,6 +9,7 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th>Nom</th>
|
||||
<th>Code postal</th>
|
||||
<th>Note</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
|
@ -16,9 +17,16 @@
|
|||
<tbody>
|
||||
{% for place in places %}
|
||||
<tr>
|
||||
<td><a href="{{ path('app_public_edit', {'id': place.id}) }}">{{ place.name }}</a></td>
|
||||
<td><a href="{{ path('app_admin_commerce', {'id': place.id}) }}">{{ place.name }}
|
||||
<i class="bi bi-pencil"></i>
|
||||
</a>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
{{place.zipcode}}
|
||||
</td>
|
||||
<td>{{ place.note }}</td>
|
||||
<td><a class="btn btn-primary" href="{{ path('app_public_edit', {'id': place.id}) }}">
|
||||
<td><a class="btn btn-primary" href="{{ path('app_admin_commerce', {'id': place.id}) }}">
|
||||
<i class="bi bi-pencil"></i>
|
||||
</a></td>
|
||||
</tr>
|
||||
|
@ -26,3 +34,4 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue