diff --git a/app/Resources/views/cea/ascenso_mostar.html.twig b/app/Resources/views/cea/ascenso_mostar.html.twig index 6d0273a..ff709b7 100644 --- a/app/Resources/views/cea/ascenso_mostar.html.twig +++ b/app/Resources/views/cea/ascenso_mostar.html.twig @@ -66,10 +66,11 @@ {% set aƱadirJurado = true %} {% set cantidadJurado = 6 %} {% for tutor in ascenso.tutoresAscenso %} - {% if loop.length >= 5 %} + {{ loop.length }} + {% if loop.length == 6 %} {% set aƱadirJurado = false %} {% else %} - {% set cantidadJurado = cantidadJurado - loop.index %} + {% set cantidadJurado = cantidadJurado - 1 %} {% endif %}