{% extends 'base.html.twig' %} {% form_theme form 'default/form/theme.html.twig' %} {% block stylesheets %} {# TODO Move to custom.css #} {% endblock stylesheets %} {% block javascripts %} {{ parent() }} {% endblock %} {% block body %}

Buchungsformular FeWo

{{ lodging.name }}

{{ form_errors(form) }} {{ form_errors(form.email) }}
Ferienwohnung {{ lodging.name }}
{{ form_widget(form.fromDate) }} bis {{ form_widget(form.toDate) }}
Bei Datumsänderung, erst immer das Anreisedatum, dann das Abreisedatum im Kalender auswählen.
{{ form_label(form.travelerCountAdult, 'Reiseteilnehmer Erwachsene') }}
{{ form_widget(form.travelerCountAdult) }} {{ form_errors(form.travelerCountAdult) }}
{{ form_label(form.travelerCountChild, 'Reiseteilnehmer Kinder') }}
{{ form_widget(form.travelerCountChild) }} {{ form_errors(form.travelerCountChild) }}

Ihr gewähltes Angebot

{% include 'default/components/booking/fewoSummary.html.twig' with { 'fewo_booking_request' : fewo_booking_request, 'fewo_lodging' : fewo_lodging, 'fewo_price' : fewo_price, 'total_price' : total_price, 'total_price_per_night' : total_price_per_night, } %}
Reiseanmelder
{{ form_field_pho(form.salutation, 'Anrede', {'label_attr': {class: 'sr-only'}}) }}
{{ form_field_pho(form.firstName, 'Vorname') }}
{{ form_field_pho(form.lastName, 'Nachname') }}
{{ form_field_pho(form.streetAddress, 'Straße, Hausnummer') }}
{{ form_field_pho(form.zipCode, 'PLZ') }}
{{ form_field_pho(form.city, 'Ort') }}
{{ form_field_pho(form.nation, 'Land') }}
{{ form_field_pho(form.phone, 'Telefon tagsüber') }}
{{ form_field_pho(form.mobile, 'Handynummer (Bitte angeben)') }}
{{ form_field_pho(form.email, 'E-Mail-Adresse') }}
Unverbindliche Anmerkungen
{{ form_field(form.notes, 'Mitteilungen / Sonstiges (optional)', { 'label_attr': {'class': 'sr-only'}, 'attr': {'rows': '6'} }) }}
Datenschutz
{{ form_widget(form.acceptPrivacy) }} {{ form_errors(form.acceptPrivacy) }}
{{ form_widget(form.acceptRentalConditions) }} {{ form_errors(form.acceptRentalConditions) }}
{{ form_rest(form) }}
{% endblock body %}