restreinte des index si on est pas ROLE_ADMIN

This commit is contained in:
Tykayn 2025-02-26 18:19:05 +01:00 committed by tykayn
parent b79fc2ac9f
commit 20611e96c2
16 changed files with 116 additions and 35 deletions

View file

@ -3,8 +3,9 @@
{% block title %}Expense index{% endblock %}
{% block body %}
<h1>Expense index</h1>
<h1>Index des dépenses</h1>
<a href="{{ path('app_expense_new') }}"class="btn btn-primary btn-create" >Créer</a>
<table class="table">
<thead>
<tr>
@ -33,5 +34,5 @@
</tbody>
</table>
<a href="{{ path('app_expense_new') }}">Create new</a>
<a href="{{ path('app_expense_new') }}"class="btn btn-primary btn-create" >Créer</a>
{% endblock %}