From 3b699d3193c963ff61fb1945c8229de3156e9670 Mon Sep 17 00:00:00 2001
From: David Beniamine <david.beniamine@tetras-libre.fr>
Date: Tue, 14 Jun 2022 14:09:24 +0200
Subject: [PATCH] Allow to remove pending editors

---
 templates/capsule/editors/list_editors.html.twig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/capsule/editors/list_editors.html.twig b/templates/capsule/editors/list_editors.html.twig
index d6d82fe..a76a72d 100644
--- a/templates/capsule/editors/list_editors.html.twig
+++ b/templates/capsule/editors/list_editors.html.twig
@@ -63,7 +63,7 @@
                     {% for pending_editor in pending_editors %}
                         <li class="text-secondary list-unstyled p-1">
                             {{ pending_editor.getEmail() }}
-                            <a href="{{ path('remove_editor', { 'capsule_id': capsule.getId(), 'editor_id': pending_editor.getId() }) }}" class="remove-link">
+                            <a href="{{ path('remove_pending_editor', { 'capsule_id': capsule.getId(), 'pending_editor_invitation_id': pending_editor.getId() }) }}" class="remove-link">
                                 {{ 'editors.remove.pending_editor.link'|trans }}
                             </a>
                         </li>
@@ -75,4 +75,4 @@
         </div>
     </div>
 
-{%  endblock %}
\ No newline at end of file
+{%  endblock %}
-- 
GitLab