<?php
$form = $this->form;
$form->prepare();
$form->setAttribute('action', $this->url('vehicle-details', ['action' => 'index']));
echo $this->form()->openTag($form);
?>
<div class="tab-content" id="myTabContent">
    <div id="home" class="tab-pane fade active in">
        <div style="margin: 10px auto 0px !important;padding: 0 10px;" class="col-sm-col-sm-offset-1">
            <div class="row">
                <div class="col-sm-10">
                    <div class="form-group clearfix margintopbottom20">
                        <label class="col-sm-3 control-label labelalign col-sm-3-new" id=""><?php echo $this->translate($this->formLabel($form->get('vehicle_type'))); ?></label>
                        <div class="col-sm-3 col-sm-4-new">
                            <?php echo $this->FormElement($form->get('vehicle_type')); ?>
                        </div>

                        <label class="col-sm-3 control-label labelalign col-sm-3-new" id="Categorie Name"><?php echo $this->translate($this->formLabel($form->get('vehicle_name'))); ?></label>
                        <div class="col-sm-3 col-sm-4-new">
                            <?php echo $this->FormElement($form->get('vehicle_name')); ?>
                            <?php echo $this->FormElement($form->get('vehicle_model_id')); ?>
                        </div>

                    </div>

                    <div class="form-group clearfix margintopbottom20">
                        <label class="col-sm-3 control-label labelalign col-sm-3-new" id=""><?php echo $this->translate($this->formLabel($form->get('model_year'))); ?></label>
                        <div class="col-sm-3 col-sm-4-new">
                            <?php echo $this->FormElement($form->get('model_year')); ?>
                        </div>

                        <label class="col-sm-3 control-label labelalign col-sm-3-new" id="point_airport"><?php echo $this->translate($this->formLabel($form->get('vehicle_number'))); ?></label>
                        <div class="col-sm-3 col-sm-4-new">
                            <?php echo $this->FormElement($form->get('vehicle_number')); ?>
                        </div>

                    </div>


                    <div class="form-group clearfix margintopbottom20">


                        <label class="col-sm-3 control-label labelalign col-sm-3-new" id="">Status</label>
                       <div class="col-sm-3 col-sm-4-new">
                                    <div class="col-sm-6 no-padding">
                                        <div class="carbooking">
                                            <input type="radio" name="status" id="active" value="1" <?php if($status==1) echo 'checked="checked"';?>>
                                            <label for="active"><span class="radio"><?php echo $this->translate('Active'); ?></span></label>
                                        </div>

                                    </div>

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

                                        <div class="carbooking">
                                            <input type="radio" name="status" id="deactive" value="0" <?php if($status==0) echo 'checked="checked"';?>>
                                            <label for="deactive"><span class="radio"><?php echo $this->translate('In-Active'); ?></span></label>
                                        </div>
                                    </div>
                                </div>
                    </div>



                    <div class="form-group clearfix margintopbottom20">
                        <label class="col-sm-3 control-label labelalign col-sm-3-new">  </label>
                        <div class="col-sm-3 col-sm-4-new">

                        </div>

                        <label class="col-sm-3 control-label labelalign col-sm-3-new"></label>
                        <div class="col-sm-3 col-sm-4-new ">
                            <!--<a href="#" class="btn btn-red defaultbtnsearch btn-warning vehicle-detail"><i class="fa fa-search iconsearch" id="search_me" ></i>Search</a>
                            <a href="javascript:document.getElementById('bookingFilter').reset();" class="btn btn-red btn-warning reset_btn"><i class="fa fa-times iconsearch"></i>Clear</a>-->
                        <?php echo $this->FormReset($form->get('clear')); ?>
                        <?php echo $this->FormElement($form->get('search')); ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php echo $this->form()->closeTag(); ?>