28 lines
1.1 KiB
Twig
28 lines
1.1 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.travelData.label }}</p>
|
|
<p>Datum: {{ bookingCreateDto.travelData.dateFrom | date('d.m.Y') }} - {{ bookingCreateDto.travelData.dateTo | date('d.m.Y') }}</p>
|
|
<p>Hotel: {{ bookingCreateDto.travelData.hotel.name }}</p>
|
|
{% if bookingCreateDto.participantsCount > 0 %}
|
|
<p>Teilnehmerzahl: {{ bookingCreateDto.participantsCount }}</p>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|