<?php
$form = $this->form;
$form->prepare();
$form->setAttribute('action', $this->url('vehicle-details', ['action' => 'vehicle-mapping']));
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=""><?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="Categorie Name"><?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=""><?php echo $this->translate($this->formLabel($form->get('driver_name'))); ?></label>
                        <div class="col-sm-3 col-sm-4-new">
                            <?php echo $this->FormElement($form->get('driver_name')); ?>
                        </div>

                        <label class="col-sm-3 control-label labelalign col-sm-3-new" id=""><?php echo $this->translate($this->formLabel($form->get('state_name'))); ?></label>
                        <div class="col-sm-3 col-sm-4-new">
                            <?php echo $this->FormElement($form->get('state_name')); ?>
                            <?php echo $this->FormElement($form->get('state_value')); ?>
                        </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('city_name'))); ?></label>
                        <div class="col-sm-3 col-sm-4-new">
                            <?php echo $this->FormElement($form->get('city_name')); ?>
                             <?php echo $this->FormElement($form->get('city_value')); ?>
                        </div>

                        <label class="col-sm-3 control-label labelalign col-sm-3-new" id=""><?php echo $this->translate('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" checked="checked" value="1" <?php if($status==1) echo 'checked="checked"';?>>
                                    <label for="active"><span class="radio"><?php echo $this->translate('Mapped'); ?></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('Un-Mapped'); ?></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 ">
                            <?php echo $this->FormElement($form->get('search')); ?>
                            <?php echo $this->FormReset($form->get('clear')); ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php echo $this->form()->closeTag(); ?>