{% extends 'emails/layout/base.html.twig' %} {% block body %}
{{ 'email.greeting'|trans }}{% if firstname %} {{ firstname }}{% endif %},
{{ 'collect.email.inviteBody'|trans({ '%sender%': senderName, '%title%': title, '%role%': roleLabel }) }}
{% include 'emails/components/_button.html.twig' with { href: link, label: 'email.collect.cta'|trans } only %} {% include 'emails/components/_alt_link.html.twig' with { url: link } %} {% if valid_until %} {% include 'emails/components/_expiry.html.twig' with { expiresAt: valid_until, dateFormat: 'd.m.Y H:i' } %} {% endif %} {% include 'emails/components/_signature.html.twig' with { signature: signature|default(null) } %} {% include 'emails/components/_security.html.twig' %} {% endblock %}