From 028f3bdaa562b533e4f8fc2578cb245dfae86c57 Mon Sep 17 00:00:00 2001 From: Allavena Romain Date: Fri, 4 Apr 2025 08:54:23 +0200 Subject: [PATCH] rajout de la modif et suppression des diplomes --- templates/degree/index.html.twig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/templates/degree/index.html.twig b/templates/degree/index.html.twig index 3c63338..a6016d5 100644 --- a/templates/degree/index.html.twig +++ b/templates/degree/index.html.twig @@ -32,6 +32,22 @@ Sélectionner {% endif %} + + {% if 'ROLE_ADMIN' in app.user.roles %} + + + Modifier + + + +
+ + + +
+ {% endif %} {% endfor %}