{% block subject %} {{ email['subject'] }} {% endblock %} {% block body_text %} {% autoescape false %} {{ email['messageText'] }} {% endautoescape %} {% endblock %} {% block body_html %} {% include 'AppBundle:Emails:body.html.twig' with { 'subject': block('subject'), 'message': email['messageHtml'], } %} {% endblock body_html %}