diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig index db4042b1b..d92c199b0 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig @@ -136,10 +136,18 @@
{% if accompanyingCourse.requestorPerson is not null %}

{{ 'Requestor'|trans }}

- {{ _self.insert_onthefly('person', accompanyingCourse.requestorPerson) }} + {% if accompanyingCourse.requestorAnonymous %} +

{{ _self.insert_onthefly('person', accompanyingCourse.requestorPerson) }}

+ {% else %} + {{ _self.insert_onthefly('person', accompanyingCourse.requestorPerson) }} + {% endif %} {% elseif accompanyingCourse.requestorThirdParty is not null %}

{{ 'Requestor'|trans }}

- {{ _self.insert_onthefly('thirdparty', accompanyingCourse.requestorThirdParty) }} + {% if accompanyingCourse.requestorAnonymous %} +

{{ _self.insert_onthefly('thirdparty', accompanyingCourse.requestorThirdParty) }}

+ {% else %} + {{ _self.insert_onthefly('thirdparty', accompanyingCourse.requestorThirdParty) }} + {% endif %} {% endif %}