31 lines
1.3 KiB
Twig
31 lines
1.3 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>Teilnehmer</h2>
|
|
{{ form_start(form) }}
|
|
{% for participant in form.participants %}
|
|
{{ form_row(participant) }}
|
|
{% endfor %}
|
|
<div class="flex justify-between">
|
|
<a href="{{ path('app_booking_create_step_1') }}" class="button bg-button bg-button--secondary">Zurück</a>
|
|
<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 %}
|
|
<p>Zimmer: </p>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |