<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:r="http://typo3.org/ns/Evoweb/Recaptcha/ViewHelpers" xmlns:cal="http://typo3.org/ns/Ig/IgReservations/ViewHelpers" xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
    data-namespace-typo3-fluid="true">
<div class="reservation-form tx-ig-reservations">
    <f:comment><h2>{date->f:format.date(format: 'd.m.Y')}<f:if condition="{timeslot}"><f:then> - {timeslot.name}</f:then><f:else> - {eventStartDate->f:format.date(format: '%H:%M')}</f:else></f:if> <f:link.action class="button" title="Kalender ansehen" pluginName="PublicCalendar" controller="Calendar" action="show" pageUid="{calendar.pageUid}" arguments="{search: {date: '{eventStartDate->f:format.date(format: \'Y-m-d\')}' }}"><core:icon identifier="actions-calendar" size="small" alternativeMarkupIdentifier="inline" /></f:link.action></h2></f:comment>
    <f:form pluginName="Ajax" controller="Ajax" action="reservationCreate" name="reservation" object="{reservation}" pageType="9190501" class="form-kontakt form-guest dp-form">
        <div class="ym-grid">
            <f:alias map="{edit: 0, pageType: 9190501}">
                <f:render partial="Reservation/FormFields" arguments="{_all}" />
            </f:alias>
            <div class="ym-g100 ig-inline">
                <f:form.hidden name="date" value="{dateValue}" />
		<f:render partial="Reservation/Text/BeforeSubmit" arguments="{_all}" />
                <f:form.submit value="{f:translate(key: 'events.create')}" />
            </div>
        </div>
    </f:form>
</div>

</html>
