<section class="content">
    <div class="row">
        <div class="col-sm-12">
            <div class="tabbable">
                <div class="tab-content no-border padding-24">

                    <div class="tab-pane fade in active" id="faq-tab-1">
                        <div class="space-8"></div>
                        <div class="panel-group accordion-style1 accordion-style2" id="faq-list-1">
<div class="panel panel-default">
<div class="panel-headingnew"> Edit Vehicle Type </div>

    <div id="faq-1-1" class="panel-collapse collapse in" aria-expanded="true">
        <div class="panel-body">
            <?php
            $form = $this->form;
            $form->prepare();
            $form->setAttribute('action', $this->url('vehicletype', ['action' => 'edit']));
            $form->setAttribute('method', 'post');
            $form->setAttribute('id', 'cab-type-search-type');
            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="Categorie Name"><?php echo $this->translate($this->formLabel($form->get('vehicle_type'))); ?></label>
                                    <div class="col-sm-3 col-sm-4-new">
                                        <div class="row-fluid">
                                            <?php echo $this->FormElement($form->get('vehicle_type_name')); ?>

                                        </div>
                                    </div>
                                    <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"><?php echo $this->translate($this->formLabel($form->get('seating_capacity'))); ?> </label>
                                                                    <div class="col-sm-3 col-sm-4-new">
                                                                       <?php echo $this->FormElement($form->get('seating_capacity')); ?>
                                                                         <?php echo $this->formElementErrors($form->get('seating_capacity'), ['class' => 'error']); ?>
                                                                    </div>


                                                                     <label class="col-sm-3 control-label labelalign col-sm-3-new"><?php echo $this->translate($this->formLabel($form->get('luggage'))); ?> </label>
                                                                    <div class="col-sm-3 col-sm-4-new">
                                                                       <?php echo $this->FormElement($form->get('luggage')); ?>
                                                                         <?php echo $this->formElementErrors($form->get('luggage'), ['class' => 'error']); ?>
                                                                    </div>
                                                                </div>


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

                                                                    </div>
                                                                     <label class="col-sm-3 control-label labelalign col-sm-3-new"><?php echo $this->translate($this->formLabel($form->get('color'))); ?> </label>
                                                                    <div class="col-sm-3 col-sm-4-new">
                                                                       <?php echo $this->FormElement($form->get('color')); ?>
                                                                         <?php echo $this->formElementErrors($form->get('color'), ['class' => 'error']); ?>
                                                                    </div>
                                                                     <div class="col-sm-3 col-sm-4-new">
                                                              <img src="<?php echo VEHICLE_IMAGE.$vehicleImage; ?>">
                                                                     </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="javascript:history.back()" id="back" class="btn btn-github "><i class="fa fa-backward iconsearch" ></i>Back</a>
                                         <!--<a href="#" class="btn btn-red defaultbtnsearch btn-warning"><i class="fa fa-sign-in iconsearch" id="search_me" ></i>Add Vehicle</a>-->
                                        <?php echo $this->FormElement($form->get('edit_vehicle_type')); ?>
                                        <?php echo $this->FormElement($form->get('vehicle_type_id')); ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <?php echo $this->form()->closeTag(); ?>
        </div>
    </div>
                        </div>
                            </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>