<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">
  <f:flashMessages />

  <div id="tx-ig-reservations-ajax-calendar-{calendar.uid}-guest" 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 fancyInput form-group">
	  <label for="guest" class="control-label">Name des Gastes ({newReservation.uid})</label>
	  <f:form.textfield property="name" value="" class="form-control fancyElement" />
	</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="calendar" value="{calendar.uid}" />
	<f:form.hidden name="date" value="{dateValue}" />

	<f:form.submit value="speichern" />
      </f:form>
    </div>
  </div>
</html>
