From 9d43515bbe22a1c14863ff3e415397140c2574c9 Mon Sep 17 00:00:00 2001 From: Michael Vasseur <14887731+vmcj@users.noreply.github.com> Date: Fri, 26 Jul 2024 08:12:40 +0200 Subject: [PATCH] Close form before starting the other one. We never closed the first form (when there are no files) as we enter the first branch but the second branch had the closing tag for the form. Solved by moving that tag outside of the branches. --- webapp/templates/jury/executable.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/templates/jury/executable.html.twig b/webapp/templates/jury/executable.html.twig index 0cf94b261ca..94569d1e4e3 100644 --- a/webapp/templates/jury/executable.html.twig +++ b/webapp/templates/jury/executable.html.twig @@ -135,8 +135,8 @@ {{ form_widget(form) }} - {{ form_end(form) }} {% endif %} + {{ form_end(form) }} {% if is_granted('ROLE_ADMIN') %}