Commit cb75f6a8 authored by ornanovitch's avatar ornanovitch 🐃

enlever bouton changement mdp admin

parent dc7eeb70
......@@ -100,8 +100,6 @@
<div class="d-flew justify-content-around mt-3">
<button class="btn btn-light btn-sm"><i class="fas fa-save mr-2"></i>{{ button_label|default('Enregistrer les modifications') }}</button>
{% if is_granted('ROLE_ADMIN') %}
<a href="{{ path('theater_edit_mdp', {'id':theater.id}) }}"
class="btn btn-warning btn-sm"><i class="fas fa-key mr-2"></i>Changer le mot de passe</a>
{% else %}
<a href="{{ path('theater_edit_mdp', {'id':user.id}) }}"
class="btn btn-warning btn-sm"><i class="fas fa-key mr-2"></i>Changer le mot de passe</a>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment