<?php
$form = $this->form;
$form->prepare();
$form->setAttribute('action', $this->url('point-to-point', ['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" id="local-booking">
                    <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-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 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 class="col-sm-12 no-padding">
                        <div class="col-sm-2 margintop10">
                            <?php echo $this->translate($this->formLabel($form->get('pickup_address'))); ?>
                        </div>
                        <div class="col-sm-10 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 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>
                    </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 radio-pickLater" >
                                <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="group adult quantity">
                                <?php echo $this->formElement($form->get('adults')); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </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="group chield quantity">
                                <?php echo $this->formElement($form->get('childs')); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </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="group laggage quantity">
                                <?php echo $this->formElement($form->get('luggages')); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </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="group car quantity">
                                <?php echo $this->formElement($form->get('no_of_vehicles')); ?>
                                <span class="highlight"></span>
                                <span class="bar"></span>
                            </div>
                        </div>
                         </div>

                    </div>

                    <div class="col-sm-12 margintop10">
                    </div>
                    <div class="col-sm-2 margintop10 search-butt">
                        <?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('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(); ?>