<?php
$form = $this->form;
$form->prepare();
$form->setAttribute('action', $this->url('airport-transfer', ['action' => 'vehicle-listing']));
$form->setAttribute('method', 'post');
$form->setAttribute('id', 'vehicle-search-form');
echo $this->form()->openTag($form);
?>
<div id="booking_outstation" class="portlet portlet-purple modify-box">
    <div id="inputSizing" class="panel-collapse in height-outo">
        <div class="portlet-body paddingT10pxRL15pxB0">
            <div id="popAlert" class="disable_none">
                <div class="row">
                    <div class="col-sm-12 text-center">
                        <p class="pop-alert">We can not confirm online booking as such short notice.<br>
                            Please call (011)42424242 for immediate bookings and confirmations.</p>
                    </div>
                </div>
            </div>
            <!--multiple country-->
            <div>
                <!--multiple country End-->
                <div class="row clearfix padding-bot10px">

                    <div class="col-sm-12 no-padding">
                        <div class="col-md-12 date_time1 marginbot40 border_bottom height50px">
                            <div>
                                <div class="col-sm-4 padding0 margin-left31">
                                    <div class="carbooking">
                                        <input type="radio" name="airport_transfer" id="going-to" checked="checked" value="1">
                                        <label for="going-to"><span class="radio"><?php echo $this->translate('Going to Airport / Train'); ?></span></label>
                                        <?php echo $this->formElement($form->get('airport_transfer_going_selected')); ?>
                                    </div>
                                </div>
                                <div class="col-sm-4 mobile_padding margin-left31">
                                    <div class="carbooking">
                                        <input type="radio" name="airport_transfer" id="coming-from" value="2">
                                        <label for="coming-from"><span class="radio"><?php echo $this->translate('Coming from Airport / Train'); ?></span></label>
                                        <?php echo $this->formElement($form->get('airport_transfer_coming_selected')); ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="col-sm-12 no-padding">

                        <div class=" col-sm-2 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('pickup_city'))); ?>
                        </div>
                        <div class="col-sm-4 margintop10">
                            <div class="group">
                                <?php echo $this->formElement($form->get('pickup_city')); ?>
                                <?php echo $this->formElementErrors($form->get('pickup_city'), ['class' => 'error']); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>
                    </div>

                    <div class="col-sm-12 no-padding">

                        <div class=" col-sm-2 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('airport'))); ?>
                        </div>
                        <div class="col-sm-4 margintop10">
                            <div class="group">
                                <?php echo $this->formElement($form->get('airport')); ?>
                                <?php echo $this->formElementErrors($form->get('airport'), ['class' => 'error']); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>

                        <div class=" col-sm-2 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('flight_number'))); ?>
                        </div>
                        <div class="col-sm-4 margintop10">
                            <div class="group">
                                <?php echo $this->formElement($form->get('flight_number')); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>

                    </div>

                    <div id="pickup_location">
                        <div class="col-sm-2 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('pickup_area'))); ?>
                        </div>
                        <div class="col-sm-4 margintop10">
                            <div class="group">
                                <?php echo $this->formElement($form->get('pickup_area')); ?>
                                <?php echo $this->formElementErrors($form->get('pickup_area'), ['class' => 'error']); ?>
                                <?php echo $this->formElement($form->get('pickup_area_value')); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>

                        </div>
                    </div>

                    <div class="disable_none" id="dropup_location">
                        <div class="col-sm-2 margintop10">
                            <?php echo $this->formLabel($form->get('drop_area')); ?>
                        </div>
                        <div class="col-sm-4 margintop10">
                            <div class="group">
                                <?php echo $this->formElement($form->get('drop_area')); ?>
                                <?php echo $this->formElementErrors($form->get('drop_area'), ['class' => 'error']); ?>
                                <?php echo $this->formElement($form->get('drop_area_value')); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>

                        </div>
                    </div>

                    <!--<div class="col-sm-2 margintop10">
                        <?php echo $this->formLabel($form->get('landmark')); ?>
                    </div>
                    <div class="col-sm-4 margintop10">
                        <div class="group">
                            <?php echo $this->formElement($form->get('landmark')); ?>
                            <?php echo $this->formElementErrors($form->get('landmark'), ['class' => 'error']); ?>
                            <span class="highlight"></span>
                            <span class="bar"></span>
                        </div>
                    </div>-->

                    <div class="col-sm-8 no-padding">
                        <div id="pickup_address">
                            <div class="col-sm-3 margintop10">
                                <?php echo $this->translate($this->formLabel($form->get('pickup_address'))); ?>
                            </div>
                            <div class="col-sm-9 margintop10">
                                <div class="group">
                                    <?php echo $this->formElement($form->get('pickup_address')); ?>
                                    <?php echo $this->formElementErrors($form->get('pickup_address'), ['class' => 'error']); ?>
                                    <span class="highlight"></span>
                                    <span class="bar"></span>
                                </div>
                            </div>
                        </div>

                        <div class="disable_none" id="dropup_address">
                            <div class="col-sm-2 margintop10">
                                <?php echo $this->translate($this->formLabel($form->get('drop_address'))); ?>
                            </div>
                            <div class="col-sm-10 margintop10">
                                <div class="group">
                                    <?php echo $this->formElement($form->get('drop_address')); ?>
                                    <?php echo $this->formElementErrors($form->get('drop_address'), ['class' => 'error']); ?>
                                    <span class="highlight"></span>
                                    <span class="bar"></span>
                                </div>
                            </div>
                        </div>


                    </div>


                    <div class="col-sm-2 margintop10">
                        <?php echo $this->translate($this->formLabel($form->get('nationality'))); ?>
                    </div>
                    <div class="col-sm-2 margintop10">
                        <div class="group">
                            <?php echo $this->formElement($form->get('nationality')); ?>
                            <?php echo $this->formElementErrors($form->get('nationality'), ['class' => 'error']); ?>
                            <span class="highlight"></span>
                            <span class="bar"></span>
                        </div>
                    </div>
                    <!-- radio start -->

                    <div class="col-sm-12 no-padding">

                        <div class="col-sm-6 margintop10">
                            <div class="col-md-5 padding0 margin-left44">
                                <div class="carbooking">
                                    <input type="radio" name="local_pickup" id="pickup-now" value="2" checked="checked">
                                    <label for="pickup-now"><span class="radio"><?php echo $this->translate('Pick Now (With in 30 min)'); ?></span></label>
                                    <?php echo $this->formElement($form->get('pickup_now_selected')); ?>
                                </div>
                            </div>

                            <div class="col-md-5" >
                                <div class="form-group-lg form-group-select-plus">
                                    <div class="carbooking">
                                        <input type="radio" name="local_pickup" id="pickup-later" value="3">
                                        <label for="pickup-later"><span class="radio"><?php echo $this->translate('Pick Later (After 1 Hr.)'); ?></span></label>
                                        <?php echo $this->formElement($form->get('pickup_later_selected')); ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6 padding_margin0" id="datetime">
                            <div class="col-sm-7 margintop10">
                                <div class="group">
                                    <?php echo $this->formElement($form->get('pickup_date')); ?>
                                    <?php echo $this->formElementErrors($form->get('pickup_date'), ['class' => 'error']); ?>
                                    <span class="highlight"></span>
                                    <span class="bar"></span>
                                </div>
                            </div>
                            <div class="col-sm-5 pull-right margintop10" >
                                <div class="group">
                                    <div class="input-group clockpicker" data-placement="bottom" data-align="left" data-donetext="Done">
                                        <?php echo $this->formElement($form->get('pickup_time')); ?>
                                        <?php echo $this->formElementErrors($form->get('pickup_time'), ['class' => 'error']); ?>
                                        <span class="input-group-addon">
                                            <span class="glyphicon glyphicon-time"></span>
                                        </span>
                                        <span class="highlight"></span>
                                        <span class="bar"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!-- radio end -->
                    </div>
                     <div class="col-sm-12 no-padding pull-left local-modify-guest">

                        <div class="col-sm-3 no-padding">

                            <div class="col-sm-5 margintop10">
                                <?php echo $this->translate($this->formLabel($form->get('adults'))); ?>
                            </div>
                            <div class="col-sm-7 margintop10">
                                <div class="col-md-12 no-padding">
                                    <div class="form-group-lg form-group-select-plus">
                                        <div class="group adult quantity">
                                            <?php echo $this->formElement($form->get('adults')); ?>
                                            <div class="quantity-nav"><div class="quantity-button quantity-up"></div><div class="quantity-button quantity-down"></div></div>                                                        <span class="highlight"></span>
                                            <span class="bar"></span>
                                        </div>
                                    </div>
                                </div>
                            </div>

                        </div>

                        <div class="col-sm-3 no-padding">

                            <div class="col-sm-5 margintop10" >
                                <?php echo $this->translate($this->formLabel($form->get('childs'))); ?>
                            </div>
                            <div class="col-sm-7 margintop10">
                                <div class="col-md-12 no-padding">
                                    <div class="form-group-lg form-group-select-plus">
                                        <div class="group chield quantity">
                                            <?php echo $this->formElement($form->get('childs')); ?>
                                            <div class="quantity-nav"><div class="quantity-button quantity-up"></div><div class="quantity-button quantity-down"></div></div>                                                        <span class="highlight"></span>
                                            <span class="bar"></span>
                                        </div>
                                    </div>
                                </div>



                            </div>
                        </div>

                        <div class="col-sm-3 no-padding">
                            <div class="col-sm-5 margintop10">
                                <?php echo $this->translate($this->formLabel($form->get('luggages'))); ?>
                            </div>
                            <div class="col-sm-7 margintop10">
                                <div class="col-md-12 no-padding">
                                    <div class="form-group-lg form-group-select-plus">
                                        <div class="group laggage quantity">
                                            <?php echo $this->formElement($form->get('luggages')); ?>
                                            <div class="quantity-nav"><div class="quantity-button quantity-up"></div><div class="quantity-button quantity-down"></div></div>                                                        <span class="highlight"></span>
                                            <span class="bar"></span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-sm-3 no-padding">
                            <div class="col-sm-5 margintop10 padding-right0">
                                <?php echo $this->translate($this->formLabel($form->get('no_of_vehicles'))); ?>
                            </div>
                            <div class="col-sm-7 margintop10">
                                <div class="col-md-12 no-padding">
                                    <div class="form-group-lg form-group-select-plus">
                                        <div class="group car quantity">
                                            <?php echo $this->formElement($form->get('no_of_vehicles')); ?>
                                            <div class="quantity-nav"><div class="quantity-button quantity-up"></div><div class="quantity-button quantity-down"></div></div>                                                        <span class="highlight"></span>
                                            <span class="bar"></span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                    
                    
                    

<!--
                    <div class="col-sm-12 no-padding">

                        <div class="col-sm-2 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('adults'))); ?>
                        </div>
                        <div class="col-sm-1 margintop10">
                            <div class="group quantity">
                                <?php echo $this->formElement($form->get('adults')); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>

                        <div class="col-sm-1 margintop10" >
                            <?php echo $this->translate($this->formLabel($form->get('childs'))); ?>
                        </div>
                        <div class="col-sm-2 margintop10">
                            <div class="group quantity">
                                <?php echo $this->formElement($form->get('childs')); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>

                        <div class="col-sm-2 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('luggages'))); ?>
                        </div>
                        <div class="col-sm-1 margintop10">
                            <div class="group quantity">
                                <?php echo $this->formElement($form->get('luggages')); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>

                        <div class="col-sm-1 margintop10 padding-right0">
                            <?php echo $this->translate($this->formLabel($form->get('no_of_vehicles'))); ?>
                        </div>
                        <div class="col-sm-2 margintop10">
                            <div class="group quantity">
                                <?php echo $this->formElement($form->get('no_of_vehicles')); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>

                    </div>
-->

                    <div class="col-sm-12 margintop10">
                    </div>

                    <div class="col-sm-2 margintop10">
                        <?php echo $this->FormElement($form->get('search_a_car')); ?>
                    </div>
                </div>
                <?php echo $this->formElement($form->get('form_type')); ?>
                <?php echo $this->FormElement($form->get('master_package_type')); ?>
                <?php echo $this->FormElement($form->get('city_id')); ?>
                <?php echo $this->FormElement($form->get('vehicle_type_id')); ?>
                <?php echo $this->FormElement($form->get('city_latitude')); ?>
                <?php echo $this->FormElement($form->get('city_longitude')); ?>
                <?php echo $this->FormElement($form->get('city_northeast_latitude')); ?>
                <?php echo $this->FormElement($form->get('city_northeast_longitude')); ?>
                <?php echo $this->FormElement($form->get('city_southwest_latitude')); ?>
                <?php echo $this->FormElement($form->get('city_southwest_longitude')); ?>
            </div>

        </div>
    </div>
</div>
<?php echo $this->form()->closeTag(); ?>
