<section id="main_form1" class="padding12top">
    <div class="container">
        <div class="slide-margin">
            <div class="col-sm-12">
                <div class="search-tabs search-tabs-bg search-tabs-nobox search-tabs-lift-top">
                    <div class="tabbable">
                        <div class="tab-content1">
                            <div class="tab-pane fade in active">
                                <div class="row">
                                    <div class="col-md-12 padding0 spanclass signup-border margin-bot5px">
                                        <h2 style="margin-top:0;"><?php echo $this->translate('Vehicle Details');?></h2>
                                    </div>
                                </div>

                                <div class="row personal-de-mo">
                                    <div class="col-sm-12">                                        

                                        <div class="col-sm-8 padding0" id="vehicle_info">
                                           
                                            <?php
                                                $form = $this->form;
                                                //echo '<pre>';print_r($form);die();
                                               $form->prepare();
                                               // $form->setAttribute('action', $this->url('common-user', ['action' => 'vehicle-info']));
                                                $form->setAttribute('method', 'post');
                                                $form->setAttribute('id', 'vehicle-info-registration-form');
                                                echo $this->form()->openTag($form);
                                            ?>

                                            <!-- /.Fleet Number Starts Here -->
                                            <div class="form-group clearfix spance">
                                                <label class="control-label col-sm-3 personal-tytle"><?php echo $this->translate($form->get('total_fleet_no')->getLabel()); ?></label>
                                                <div class="col-sm-9 personla-inof-input">
                                                    <?php echo $this->formElement($form->get('total_fleet_no')); ?>
                                                </div>
                                            </div>
                                            <!-- /.Fleet Number Ends Here -->

                                            <!-- /.Driver Vehicle Name Starts Here -->
                                            <div class="form-group clearfix spance">
                                                <label class="control-label col-sm-3 personal-tytle"><?php echo $this->translate($form->get('name')->getLabel()); ?></label>
                                                <div class="col-sm-9 personla-inof-input">
                                                    <?php echo $this->formElement($form->get('name')); ?>
                                                    <?php echo $this->formElementErrors($form->get('name'), ['class' => 'error']); ?>
<!--                                                    <input name="vehicle_name" id="vehicle_name_value" type="hidden">
                                                    <input name="driver_cartypes" id="driver_cartypes_value" type="hidden">-->
                                                    
                                                    <?php echo $this->formElement($form->get('vehicle_value')); ?>
                                                    <?php echo $this->formElement($form->get('vehicle_exist_status')); ?>
                                                </div>
                                            </div>
                                            <!-- /.Driver Vehicle Name Ends Here --> 

                                            <!-- /.Driver Ignition Type Starts Here -->
                                            <div class="form-group clearfix spance">
                                                <label class="control-label col-sm-3 personal-tytle"><?php echo $this->translate($form->get('ignition_type_id')->getLabel()); ?></label>
                                                <div class="col-sm-9 personla-inof-input">
                                                    <?php echo $this->formElement($form->get('ignition_type_id')); ?>
                                                </div>
                                            </div>
                                            <!-- /.Driver Ignition Type Ends Here -->

                                            <!-- /.Vehicle No Starts Here -->
                                            <div class="form-group clearfix spance">
                                                <label class="control-label col-sm-3 personal-tytle"><?php echo $this->translate($form->get('vehicle_code')->getLabel()); ?></label>
                                                <div class="col-sm-9 padding0">
                                                    <div class="col-sm-2 ">
                                                        <?php echo $this->formElement($form->get('vehicle_code')); ?>
                                                        <?php echo $this->formElementErrors($form->get('vehicle_code'), ['class' => 'error']); ?>
                                                    </div>
                                                    <div class="col-sm-10">
                                                        <?php echo $this->formElement($form->get('vehicle_number')); ?>
                                                         <?php echo $this->formElementErrors($form->get('vehicle_number'), ['class' => 'error']); ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <!-- /.Vehicle No Ends Here -->

                                            <!-- /.Vehicle Color Starts Here -->
                                            <div class="form-group clearfix spance">
                                                <label class="control-label col-sm-3 personal-tytle"><?php echo $this->translate($form->get('color')->getLabel()); ?></label>
                                                <div class="col-sm-9 personla-inof-input">
                                                    <div id="cp3" data-color-format="hex" data-color="rgb(255, 146, 180)" class="input-append cp3 color">
                                                           
                                                           <?php echo $this->FormElement($form->get('color')); ?>
                                                          <span class="add-on"><i style="background-color: rgb(255, 146, 180)"></i></span>
                                                     </div>
                                                </div>
                                            </div>
                                            <!-- /.Vehicle Color Ends Here -->

                                            <!-- /.vehicle Owner Starts Here -->
                                            <div class="form-group clearfix spance personal-gender">
                                                <label class="col-sm-3 control-label labelalign col-sm-3-new personal-tytle" id="point_airport"><?php echo $this->translate($form->get('vehicle_owner_type')->getLabel()); ?> </label>
                                                <div class="col-sm-9 padding0">
                                                    <div class="col-sm-6" id="owned-cab">
                                                        <div class="carbooking margin-left50 carbooking" >
                                                            <input type="radio" name="vehicle_owner_type" id="owned" checked="checked" value="Owned">
                                                            <label for="owned"><span class="radio">Owned</span></label>
                                                        </div>
                                                    </div>

                                                    <div class="col-sm-6 pull-right" id="attached-cab">
                                                        <div class="carbooking">
                                                            <input type="radio" name="vehicle_owner_type" id="attached" value="Attached">
                                                            <label for="attached"><span class="radio">Attached</span></label>
                                                        </div>
                                                    </div>                                                  
                                                </div>
                                            </div>
                                            
                                            
                                            <!-- /.vehicle Owner Ends Here -->
                                            
                                            <!-- /.Vehicle Attached Starts Here -->
                                            <div class="clearfix spance" id="vehicle-attached" style="display:none">
                                                
                                                <div class="form-group pull-left widthpercent100 display-none">
                                                <label class="control-label col-sm-3 personal-tytle"><?php echo $this->translate($form->get('vehicle_owner_name')->getLabel()); ?></label>
                                                <div class="col-sm-9 personla-inof-input">
                                                    <?php echo $this->formElement($form->get('vehicle_owner_name')); ?>
                                                    <?php echo $this->formElementErrors($form->get('vehicle_owner_name'), ['class' => 'error']); ?>
                                                </div>
                                                </div>
                                                <div class="form-group pull-left widthpercent100">
                                                <label class="control-label col-sm-3 personal-tytle"><?php echo $this->translate($form->get('vehicle_owner_cnt_no')->getLabel()); ?></label>
                                                <div class="col-sm-9 personla-inof-input">
                                                    <?php echo $this->formElement($form->get('vehicle_owner_cnt_no')); ?>
                                                    <?php echo $this->formElementErrors($form->get('vehicle_owner_cnt_no'), ['class' => 'error']); ?>
                                                </div>
                                                </div>
<!--                                                <div class="form-group pull-left widthpercent100">
                                                <label class="control-label col-sm-3">Owner Alt Cnt No<span class="mandat_star red_text">*</span></label>
                                                <div class="col-sm-9">
                                                    <?php //echo $this->formElement($form->get('vehicle_owner_alt_cnt_no')); ?>
                                                </div>
                                            </div>-->
                                            </div>
                                            <!-- /.Vehicle Attached Ends Here -->

                                            <!-- /.Permit Expiry Date Starts Here -->
                                            <div class="form-group clearfix spance">
                                                <label class="control-label col-sm-3 personal-tytle"><?php echo $this->translate($form->get('permit_exp_date')->getLabel()); ?></label>
                                                <div class="col-sm-9 personla-inof-input">
                                                    <?php echo $this->formElement($form->get('permit_exp_date')); ?>
                                                    <?php echo $this->formElementErrors($form->get('permit_exp_date'), ['class' => 'error']); ?>
                                                </div>
                                            </div>
                                            <!-- /.Permit Expiry Date Ends Here -->                                                

                                            <!-- /.RC Proof Starts Here -->
                                            <div class="form-group clearfix spance">
                                                <label class="control-label col-sm-3 personal-tytle"><?php echo $this->translate($form->get('rc_proof')->getLabel()); ?></label>
                                                <div class="col-sm-9 personla-inof-input">
                                                    <?php echo $this->formElement($form->get('rc_proof')); ?>
                                                        <?php echo $this->formElementErrors($form->get('rc_proof'), ['class' => 'error']); ?>
                                                </div>
                                            </div>
                                            <!-- /.RC Proof Ends Here -->  

                                            <!-- /.Insurance Validity Starts Here -->
                                            <div class="form-group clearfix spance">
                                                <label class="control-label col-sm-3 personal-tytle"><?php echo $this->translate($form->get('insurance_proof')->getLabel()); ?></label>
                                                <div class="col-sm-9 personla-inof-input">
                                                    <?php echo $this->formElement($form->get('insurance_proof')); ?>
                                                        <?php echo $this->formElementErrors($form->get('insurance_proof'), ['class' => 'error']); ?>
                                                </div>
                                            </div>
                                            <!-- /.Insurance Validity Ends Here -->

                                            <!-- /.Fitness Certificate Starts Here -->
                                            <div class="form-group clearfix spance">
                                                <label class="control-label col-sm-3 personal-tytle"><?php echo $this->translate($form->get('fitness_proof')->getLabel()); ?></label>
                                                <div class="col-sm-9 personla-inof-input">
                                                    <?php echo $this->formElement($form->get('fitness_proof')); ?>
                                                        <?php echo $this->formElementErrors($form->get('fitness_proof'), ['class' => 'error']); ?>
                                                </div>
                                            </div>
                                            <!-- /.Fitness Certificate Ends Here -->

                                            <div class="form-group clearfix margintopbottom20 margin-top10">
                                                <label class="col-sm-3 control-label labelalign col-sm-3-new" id="update_profiel"></label>
                                                <div class="col-sm-9 " align="right">
<!--                                                    <a class="reset_btn btn btn-success btn-new-vehile vehicle_detail" ng-click="toggle()" href="#">
                                                        <i class="fa fa-fast-forward "></i>
                                                        Skip
                                                    </a>-->
                                                    <?php echo $this->FormElement($form->get('driver_vehicle_info')); ?>
                                                </div>
                                            </div>
                                            <?php echo $this->form()->openTag($form); ?>
                                        </div>                                        
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>