removed unused button
This commit is contained in:
parent
3f9d388f7f
commit
79ef977e1b
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue