removed unused button

This commit is contained in:
Charles 2025-12-09 10:06:48 +01:00
parent 3f9d388f7f
commit 79ef977e1b
1 changed files with 0 additions and 7 deletions

View File

@ -14,13 +14,6 @@
{% if is_granted("ROLE_SUPER_ADMIN") %}
<a href="{{ path('user_delete', {'id': user.id}) }}"
class="btn btn-secondary">Supprimer</a>
{% if user.active %}
<a href="{{ path('user_deactivate', {'id': user.id}) }}"
class="btn btn-secondary">Désactiver l'utilisateur</a>
{% else %}
<a href="{{ path('user_activate', {'id': user.id}) }}" class="btn btn-primary ">Activer
l'utilisateur</a>
{% endif %}
{% endif %}
</div>
</div>