<div class="content-block js-pool-enquiry"
data-pool-enquiry-session-storage-name="convention-wishlist"
data-pool-enquiry-max-items="20"
>
<div class="content-block container">
<form data-action="{{ app.request.pathInfo }}" action="/404" class="js-action-changer">
<input type="hidden" id="removeAllFromWishlist" name="removeAllFromWishlist" />
<button type="submit" class="link btn-no-styling mb-3 d-flex">
<span class="icon icon-delete mr-1 fz16" aria-hidden="true"></span>
<span class="text-underline">{{'convention-wishlist.komplette Merkiste löschen'|trans}}</span>
</button>
</form>
<div class="flatrate-teaser-row">
<div class="row scrolling-row">
{% for partner in partners|default([]) %}
<div class="col-md-3 col-10 scrolling-row__item js-wishlist__container" data-wishlist-id="{{ partner.id }}" data-wishlist-list-name="default-wishlist">
{% set wysiwyg = '<ul>' %}
{% for bulletpoint in partner.teaserBullets %}
{% set wysiwyg = wysiwyg ~ '<li>' ~ bulletpoint.item.data ~ '</li>' %}
{% endfor %}
{% set wysiwyg = wysiwyg ~ '</ul>' %}
{% set inSession = partner.id in app.session.get('wishlistIds') %}
{{ include('Includes/Teaser/flatrate-teaser.html.twig', {
isSmallTeaser: true,
badgeText: partner.city,
image: partner.teaserimage,
title: partner.name,
wysiwyg: wysiwyg,
link: linkGenerator().generate(partner),
linktext: 'eventplanner.Mehr Erfahren'|trans,
removeFromWishlist: true,
hasEnquiryButton: true,
isBadgeWhite: true,
hasWishlist:false,
id: partner.id,
trackingAction: 'ConventionPartner'
}) }}
</div>
{% endfor %}
</div>
</div>
</div>
<div class="slide bg-dark-bg content-block text-white">
<div class="container container-narrow">
{{ include('Includes/title-block-editable.html.twig', {
suffix: '-wishlist-partner-contact',
isCentered: true,
isWhite: true,
styleModifier: 'js-fade-in'
}) }}
<div class="">
<h3 class="mb-3"><span class="js-pool-enquiry__counter">0</span> {{ 'convention-wishlist.Anfragen'|trans }}</h3>
<div class="js-pool-enquiry__selection-view" data-pool-enquiry-view="result"></div>
</div>
<form action="/404" data-action="{{ app.request.pathInfo }}" method="post" class="js-action-changer js-pool-enquiry__submit-form js-form-validation mt-5 text-white">
<input type="hidden" name="isSend" value="1">
<div class="js-pool-enquiry__selection-view" data-pool-enquiry-view="inputs"></div>
<div class="row js-datepicker-range">
<div class="col-6">
{{ include('Form/Includes/date-picker.html.twig', {
"id": "arrival",
"name": "arrival",
"label": "convention-detail.Anreise"|trans,
"min": carbon().today().toDateTimeString(),
"value": app.request.get('arrival') is defined and not app.request.get('arrival') is empty ? (carbon().createFromFormat('Y-m-d H:i:s', app.request.get('arrival')|replace({'T': ' '})) ) : carbon().today().toDateTimeString(),
"numberOfMonths": 2,
"styleModifier": 'js-datepicker-range__from form-group--sm',
"inputHiddenModifier": "js-floating-label",
"inputWrapperModifier": "position-relative datepicker-container",
"labelModifier": "floating-label",
errors: errors['anreise'] is defined ? [errors['anreise']] : null,
}) }}
</div>
<div class="col-6">
{{ include('Form/Includes/date-picker.html.twig', {
"id": "departure",
"name": "departure",
"label": "convention-detail.Abreise"|trans,
"value": app.request.get('departure') is defined and not app.request.get('departure') is empty ? (carbon().createFromFormat('Y-m-d H:i:s', app.request.get('departure')|replace({'T': ' '})) ) : carbon().today().addDays(4).toDateTimeString(),
"min": carbon().today().toDateTimeString(),
"numberOfMonths": 2,
"styleModifier": "js-datepicker-range__to form-group--sm",
"inputHiddenModifier": "js-floating-label",
"inputWrapperModifier": "position-relative datepicker-container",
"labelModifier": "floating-label",
errors: errors['abreise'] is defined ? [errors['abreise']] : null,
}) }}
</div>
<div class="col-md-6">
{{ include('Form/Includes/form-control.html.twig', {
id: 'company',
name: 'company',
value: app.request.get('company') is defined ? app.request.get('company') : '',
inputModifier: 'js-floating-label',
inputWrapperModifier: 'position-relative',
labelModifier: 'floating-label',
label: 'convention-detail.Firma'|trans,
required: true,
errors: errors['company'] is defined ? [errors['company']] : null,
}) }}
</div>
<div class="col-md-6">
{{ include('Form/Includes/form-control.html.twig', {
id: 'participants',
name: 'participants',
value: app.request.get('participants') is defined ? app.request.get('participants') : '',
inputModifier: 'js-floating-label',
inputWrapperModifier: 'position-relative',
labelModifier: 'floating-label',
label: 'convention-detail.Teilnehmer'|trans,
type: 'number',
required: true,
errors: errors['participants'] is defined ? [errors['participants']] : null,
}) }}
</div>
<div class="col-md-6">
{{ include('Form/Includes/select.html.twig', {
id: 'salutation',
inputModifier: "js-floating-label",
labelModifier: "floating-label",
inputWrapperModifier: "select__input-wrapper position-relative",
name: "salutation",
required: true,
label: 'convention-detail.Anrede'|trans,
styleModifier: 'form-group--sm',
options: [
{
"label": "",
"value": "",
"disabled": true,
"selected": not app.request.get('salutation') is defined,
"class": "sr-only"
}, {
"label": 'convention-detail.Frau'|trans,
"value": 'convention-detail.Frau'|trans,
"class": '',
"selected": app.request.get('salutation') is defined and app.request.get('salutation') == 'convention-detail.Frau'|trans,
}, {
"label": 'convention-detail.Herr'|trans,
"value": 'convention-detail.Herr'|trans,
"class": "",
"selected": app.request.get('salutation') is defined and app.request.get('salutation') == 'convention-detail.Herr'|trans,
},],
errors: errors['salutation'] is defined ? [errors['salutation']] : null,
}) }}
</div>
<div class="col-md-6">
{{ include('Form/Includes/form-control.html.twig', {
id: 'title',
name: 'title',
value: app.request.get('title') is defined ? app.request.get('title') : '',
inputModifier: 'js-floating-label',
inputWrapperModifier: 'position-relative',
labelModifier: 'floating-label',
label: 'convention-detail.Titel'|trans,
required: false,
errors: errors['title'] is defined ? [errors['title']] : null,
}) }}
</div>
<div class="col-md-6">
{{ include('Form/Includes/form-control.html.twig', {
id: 'firstname',
name: 'firstname',
value: app.request.get('firstname') is defined ? app.request.get('firstname') : '',
inputModifier: 'js-floating-label',
inputWrapperModifier: 'position-relative',
labelModifier: 'floating-label',
label: 'convention-detail.Vorname'|trans,
required: true,
errors: errors['firstname'] is defined ? [errors['firstname']] : null,
}) }}
</div>
<div class="col-md-6">
{{ include('Form/Includes/form-control.html.twig', {
id: 'lastname',
name: 'lastname',
value: app.request.get('lastname') is defined ? app.request.get('lastname') : '',
inputModifier: 'js-floating-label',
inputWrapperModifier: 'position-relative',
labelModifier: 'floating-label',
label: 'convention-detail.Nachname'|trans,
required: true,
errors: errors['lastname'] is defined ? [errors['lastname']] : null,
}) }}
</div>
<div class="col-md-6">
{{ include('Form/Includes/form-control.html.twig', {
id: 'street',
name: 'street',
value: app.request.get('street') is defined ? app.request.get('street') : '',
inputModifier: 'js-floating-label',
inputWrapperModifier: 'position-relative',
labelModifier: 'floating-label',
label: 'convention-detail.Straße'|trans,
required: true,
errors: errors['street'] is defined ? [errors['street']] : null,
}) }}
</div>
<div class="col-md-2">
{{ include('Form/Includes/form-control.html.twig', {
id: 'zip',
name: 'zip',
value: app.request.get('zip') is defined ? app.request.get('zip') : '',
inputModifier: 'js-floating-label',
inputWrapperModifier: 'position-relative',
labelModifier: 'floating-label',
label: 'convention-detail.PLZ'|trans,
required: true,
errors: errors['zip'] is defined ? [errors['zip']] : null,
}) }}
</div>
<div class="col-md-4">
{{ include('Form/Includes/form-control.html.twig', {
id: 'city',
name: 'city',
value: app.request.get('city') is defined ? app.request.get('city') : '',
inputModifier: 'js-floating-label',
inputWrapperModifier: 'position-relative',
labelModifier: 'floating-label',
label: 'convention-detail.Ort'|trans,
required: true,
errors: errors['city'] is defined ? [errors['city']] : null,
}) }}
</div>
<div class="col-md-12">
{{ include('Form/Includes/select.html.twig', {
id: 'country',
inputModifier: "js-floating-label",
labelModifier: "floating-label",
inputWrapperModifier: "select__input-wrapper position-relative",
name: "country",
required: true,
label: 'convention-detail.Land'|trans,
styleModifier: 'form-group--sm',
options: getCountrySelectData(app.request.locale, app.request.get('phone') is defined ? app.request.get('phone') : ''),
errors: errors['country'] is defined ? [errors['country']] : null,
}) }}
</div>
<div class="col-md-6">
{{ include('Form/Includes/form-control.html.twig', {
id: 'phone',
name: 'phone',
value: app.request.get('phone') is defined ? app.request.get('phone') : '',
inputModifier: 'js-floating-label',
inputWrapperModifier: 'position-relative',
labelModifier: 'floating-label',
label: 'convention-detail.Telefon'|trans,
required: true,
errors: errors['phone'] is defined ? [errors['phone']] : null,
}) }}
</div>
<div class="col-md-6">
{{ include('Form/Includes/form-control.html.twig', {
id: 'email',
name: 'email',
value: app.request.get('email') is defined ? app.request.get('email') : '',
inputModifier: 'js-floating-label',
inputWrapperModifier: 'position-relative',
labelModifier: 'floating-label',
label: 'convention-detail.E-Mmail'|trans,
required: true,
errors: errors['email'] is defined ? [errors['email']] : null,
}) }}
</div>
<div class="col-12">
{{ include('Form/Includes/radio-group.html.twig', {
"title": "convention-detail.Wie möchten Sie kontaktiert werden?"|trans,
"titleStyleModifier": "h6",
"id": "contactType",
"name": "contactType",
"options": [
{
"label": "convention-detail.per Telefon"|trans,
"value": "1",
checked: app.request.get('contactType') is defined and app.request.get('contactType') == '1',
}, {
"label": "convention-detail.per E-mail"|trans,
"value": "2",
checked: app.request.get('contactType') is defined and app.request.get('contactType') == '2',
}
]
}) }}
</div>
<div class="col-12">
{{ include('Form/Includes/text-area.html.twig', {
id: 'message',
name: 'message',
value: app.request.get('message') is defined ? app.request.get('message') : '',
inputModifier: 'js-floating-label',
inputWrapperModifier: 'position-relative',
labelModifier: 'floating-label',
label: 'convention-detail.Ihre Nachricht'|trans,
required: false
}) }}
</div>
</div>
<div class="text-right small mb-1">
*{{'convention-detail.Pflichtfelder'|trans}}
</div>
<div>{{ 'convention-detail.Ich stimme den <a href="#">Datenschutzbestimmungen</a> zu.'|trans|raw }}</div>
<div class="text-center mt-4">
<button type="submit" class="btn btn-primary-light">{{'convention-detail.Kontaktanfrage sende'|trans}}</button>
</div>
</form>
</div>
</div>
</div>