{% extends 'layout_booking.html.twig' %} {% block title %}Schritt 3: Persönliche Daten{% endblock %} {% block background %}bg-outer bg-outer--summer{% endblock %} {% block content %} {% form_theme form 'booking/_form_theme.html.twig' %} {{ form_start(form, { 'attr': { 'class': 'flex-1 flex flex-col min-h-0', 'novalidate': 'novalidate', } }) }} {# Pagination - mobile only (above summary) #}
{% include 'groups/booking/_pagination.html.twig' with { 'current_step': 3 } %}
{# Static sidebar recap #}
{% include 'groups/booking/_summary.html.twig' with { 'dto': dto, 'ctx': ctx } %}
{# Personal data form #}
{% include '_partials/_flashes.html.twig' %} {# Pagination - desktop only (fixed above scrollable content) #}

Persönliche Daten

{# Validation errors #} {% from '_partials/_validation_errors.html.twig' import validation_alert %} {{ validation_alert(form, 'Bitte fülle alle Pflichtfelder aus.') }} {% if dto.isInquiry %} {% include '_partials/_alert.html.twig' with { level: 'warning', title: 'Diese Buchung wird als unverbindliche Anfrage behandelt', messages: dto.inquiryReasons } %} {% endif %}
{{ form_row(form.groupName) }} {{ form_row(form.salutation) }}
{{ form_row(form.firstName) }} {{ form_row(form.lastName) }}
{{ form_row(form.email) }} {{ form_row(form.phone) }}

Adresse

{{ form_row(form.street) }}
{{ form_row(form.zip) }} {{ form_row(form.city) }}

Anmerkungen

{{ form_row(form.remarks) }}
{% if form.forceInquiry is defined %} {{ form_row(form.forceInquiry) }} {% endif %}
Zurück
{{ form_rest(form) }} {{ form_end(form) }} {% endblock %}