<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 id="tx-ig-reservations-ajax-calendar-{calendar.uid}-frontend-user" style="display: none;">
		  	<div class="tx-ig-reservations input-form-guest">
		  		<h3 class="guest-header">Reservierung für <span class="set-dateDay">
		  				<f:if condition="{date}">
		  					<f:format.date format="%A">{date}</f:format.date>
		  				</f:if>
		  			</span> <span class="set-dateFormat">
		  				<f:if condition="{date}">
		  					<f:format.date format="%d.%m.%Y">{date}</f:format.date>
		  				</f:if>
		  			</span></h3>
		  		<f:form pluginName="Ajax" controller="Ajax" action="reservationCreate" name="reservation" object="{reservation}" pageType="9190501" class="form-kontakt form-guest dp-form">
		  			<div class="columns form-group">
		  				<f:form.select property="frontendUser" class="form-control select2">
		  					<option value="">Benutzer Auswählen</option>
		  					<f:for each="{frontendUsers}" as="frontendUser">
		  						<f:form.select.option value="{frontendUser.uid}">{frontendUser.last_name} {frontendUser.first_name} ({frontendUser.username})</f:form.select.option>
		  					</f:for>
		  				</f:form.select>
		  			</div>
		  			<f:form.hidden property="event.calendar" value="{calendar.uid}" />
		  			<f:form.hidden property="event.timeslot" value="{timeslot.uid}" />
					<f:form.hidden property="event.startDate" value="{dateValue}" />
		  			<f:form.hidden name="date" value="{dateValue}" />
		  			<f:form.hidden name="calendar" value="{calendar.uid}" />
		  			<f:form.submit value="speichern" />
		  		</f:form>
		  		</form>
		  	</div>
		  </div>
</html>
