From abd60f7ddfccd06052af1e34e0d8e0bb9b104873 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Fri, 1 Oct 2021 14:06:15 +0200 Subject: [PATCH] resume: include _insert_vue_onthefly template --- .../views/AccompanyingCourse/_concerned.html.twig | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/_concerned.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/_concerned.html.twig index 2cfbff27a..5ff6d5583 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/_concerned.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/_concerned.html.twig @@ -1,13 +1,17 @@ - - {% for p in accompanyingCourse.participations %} + + {# - {{ p.person|chill_entity_render_box }} -{% endfor %} -{{ dump() }} + #} + + A + {# include vue_onthefly component #} + {% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with { targetEntity: { name: 'person', id: p.person.id }, action: 'show' } %} + +{% endfor %}