<form data-request="{{ __SELF__ }}::onBookForm" data-request-update="'{{ __SELF__ }}::flash' : '#flash'" data-request-success="data.result == 'success' ? this.reset() : null" class="{{ __SELF__.ifInline ? 'form-inline' : 'form-contact' }} form-inline" role="form" novalidate>

	<div class="form-group has-feedback">
		{% if __SELF__.ifLabel %}<label>{{ _('netsti.hotel::lang.fields.name') }}</label>{% endif %}
		<input name="name" type="text" class="form-control" placeholder="{% if not __SELF__.ifLabel %}{{ _('netsti.hotel::lang.fields.name') }}{% endif %}">
		{% if __SELF__.icons %}<span class="icon icon-user form-control-feedback"></span>{% endif %}
	</div>

	<div class="form-group has-feedback">
		{% if __SELF__.ifLabel %}<label>{{ _('netsti.hotel::lang.fields.email') }}</label>{% endif %}
		<input name="email" type="email" class="form-control" placeholder="{% if not __SELF__.ifLabel %}{{ _('netsti.hotel::lang.fields.email') }}{% endif %}">
		{% if __SELF__.icons %}<span class="icon icon-envelope form-control-feedback"></span>{% endif %}
	</div>

	{% if __SELF__.ifPhone %}
	<div class="form-group has-feedback">
		{% if __SELF__.ifLabel %}<label>{{ _('netsti.hotel::lang.fields.phone') }}</label>{% endif %}
		<input name="phone" type="text" class="form-control" id="" placeholder="{% if not __SELF__.ifLabel %}{{ _('netsti.hotel::lang.fields.phone') }}{% endif %}">
		{% if __SELF__.icons %}<span class="icon icon-phone form-control-feedback"></span>{% endif %}
	</div>
	{% endif %}

	<div class="form-group has-feedback">
		{% if __SELF__.ifLabel %}<label>{{ _('netsti.hotel::lang.fields.arrive_date') }}</label>{% endif %}
		<input name="arrive_date" type="text" class="form-control datepicker" id="start" placeholder="{% if not __SELF__.ifLabel %}{{ _('netsti.hotel::lang.fields.arrive_date') }}{% endif %}">
		{% if __SELF__.icons %}<span class="icon icon-calendar form-control-feedback"></span>{% endif %}
	</div>	
	
	{% if __SELF__.ifCheckout %}
	<div class="form-group has-feedback">
		{% if __SELF__.ifLabel %}<label>{{ _('netsti.hotel::lang.fields.checkout_date') }}</label>{% endif %}
		<input name="checkout_date" type="text" class="form-control datepicker" id="end" placeholder="{% if not __SELF__.ifLabel %}{{ _('netsti.hotel::lang.fields.checkout_date') }}{% endif %}">
		{% if __SELF__.icons %}<span class="icon icon-calendar form-control-feedback"></span>{% endif %}
	</div>
	{% endif %}

	{% if __SELF__.ifPeople %}
	<div class="form-group has-feedback">
		{% if __SELF__.ifLabel %}<label>{{ _('netsti.hotel::lang.fields.people') }}</label>{% endif %}
		<select name="people" class="form-control">
			<option value="1">1 {{ _('netsti.hotel::lang.fields.person') }}</option>
			<option selected="selected" value="2">2 {{ _('netsti.hotel::lang.fields.people_') }}</option>
			<option value="3">3 {{ _('netsti.hotel::lang.fields.people_') }}</option>
			<option value="4">4 {{ _('netsti.hotel::lang.fields.people_') }}</option>
			<option value="5">5 {{ _('netsti.hotel::lang.fields.people_') }}</option>
			<option value="6">6 {{ _('netsti.hotel::lang.fields.people_') }}</option>
			<option value="7">7 {{ _('netsti.hotel::lang.fields.people_') }}</option>
			<option value="8">+8 {{ _('netsti.hotel::lang.fields.people_') }}</option>
		</select>
		{% if __SELF__.icons %}<span class="icon icon-group form-control-feedback"></span>{% endif %}
	</div>	
	{% endif %}

	<button type="submit" class="{{ __SELF__.submitClass }}">{{ _('netsti.hotel::lang.fields.book') }}</button>
</form>