{% extends 'Admin/Mail/layout.html.twig' %}
{% trans_default_domain 'FOSUserBundle' %}

{% block body %}
{% autoescape false %}
    {{ 'registration.email.subject'|trans({'%firstname%': user.firstname}) }}

    <p>
        {{-
            'registration.email.message'|trans({
                '%firstname%': user.firstname,
                '%confirmationUrl%': confirmationUrl,
                '%strong_start%': '<strong>',
                '%strong_end%': '</strong>',
                '%email%': constant('AppBundle\\Enum\\UserType::TEACHER') == user.type ? cgenial_mail_pee_registration : cgenial_mail_itdlc_registration,
                '%em_start%': '<em>',
                '%em_end%': '</em>',
            })|replace({'\n\n': '</p><p>'})
        -}}
    </p>
{% endautoescape %}
{% endblock %}
