<?php
$form = $this->form;
$form->prepare();
$form->setAttribute('action', $this->url('bookinghistory', ['action' => 'index']));
$form->setAttribute('method', 'post');
$form->setAttribute('id', 'booking-vehicle-search-form');
echo $this->form()->openTag($form);
?>
<input type="hidden" id="tab_type" name="tab_type" value="<?php if(isset($test)){echo $tab_type;}?>">
 <input type="hidden" name="tab_type" value="vehicle">
<div class="col-sm-col-sm-offset-1 margin-10auto0 paddingRL10px">
        <div class="row">
            <div class="form-group clearfix margintopbottom20">
                <label id="flight_nos" class="col-sm-2 control-label labelalign"><?php echo $this->translate('Vehicle Type');?></label>
                <div class="col-sm-4">
                    <?php echo $this->FormElement($form->get('vehicle_type')); ?>
                </div>
                <label id="point_airport" class="col-sm-2 control-label labelalign "><?php echo $this->translate('Vehicle No');?></label>
                <div class="col-sm-4">
                    <?php echo $this->FormElement($form->get('vehicle_no')); ?>
                </div>
            </div>
        </div>

        <!--<div class="row">
            <div class="form-group clearfix margintopbottom20">
                <label id="flight_nos" class="col-sm-2 control-label labelalign"><?php echo $this->translate('External Reference');?></label>
                <div class="col-sm-4">
                    <?php echo $this->FormElement($form->get('external_reference')); ?>
                </div>
            </div>
        </div>-->

        <div class="row">
            <div class="form-group clearfix margintopbottom20">
                <div class="col-sm-4 pull-right">
                    <?php echo $this->FormReset($form->get('clear')); ?>
                    <?php echo $this->FormElement($form->get('search')); ?>
                </div>
            </div>
        </div>
    </div>
<?php echo $this->form()->closeTag(); ?>