{% extends 'email/layout.html.twig' %} {% block body %} {% set resource = booking.resource %}
{{ resource.type.label }} {{ resource.label }} wurde gebucht.
Datum: {{ booking.date|format_datetime(pattern: 'EEEE, d. MMMM y') }}
Zeit: {{ booking.timeRange }}
{% if resource.group %}
{{ resource.type.groupLabel }}: {{ resource.group.label }}
{% endif %}
Gebucht von {{ booking.user.name }}
{{ booking.user.email }}