Files
myep/templates/booking/create_step_1.html.twig
T
2025-07-24 11:12:06 +02:00

28 lines
1.0 KiB
Twig

{% extends 'layout.html.twig' %}
{% block content %}
{% include '_partials/_flashes.html.twig' %}
<h1>Neue Buchung</h1>
<div class="grid grid-cols-3 gap-8">
<div class="col-span-2">
<h2>Zimmerauswahl</h2>
{{ form_start(form) }}
{{ form_row(form.roomSelections) }}
<div class="flex justify-end">
<button type="submit" class="button bg-button bg-button--secondary">Weiter</button>
</div>
{{ form_rest(form) }}
{{ form_end(form) }}
</div>
<div>
<h3>Zusammenfassung</h3>
<p>Reise: {{ bookingCreateDto.travel.label }}</p>
<p>Datum: {{ bookingCreateDto.travel.dateFrom | date('d.m.Y') }} - {{ bookingCreateDto.travel.dateTo | date('d.m.Y') }}</p>
<p>Hotel: {{ bookingCreateDto.travel.hotel.name }}</p>
{% if participantsCount > 0 %}
<p>Teilnehmerzahl: {{ participantsCount }}</p>
{% endif %}
</div>
</div>
{% endblock %}