<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('Duty Info'); ?></h2>
                                    </div>
                                </div>

                                <div class="row personal-de-mo ">
                                    <div class="col-sm-12">
                                        <?php
                                            $form = $this->form;
                                            $form->prepare();
                                           // $form->setAttribute('action', $this->url('common-user', ['action' => 'duty-info']));
                                            $form->setAttribute('method', 'post');
                                            $form->setAttribute('id', 'duty-info-registration-form');
                                            echo $this->form()->openTag($form);
                                        ?>

                                            <div class="col-sm-8 padding0" id="duty_info">

                                                <div>
                                                      <?php echo "<font color='red'><strong>$error_msg</strong></font>"; ?>
                                                 </div>
                                                <!-- /.Preferred City Starts Here -->
                                                <div class="form-group clearfix spance">
                                                    <label class="col-sm-3 personal-tytle"><?php echo $form->get('preferred_city')->getLabel(); ?></label>
                                                    <div class="col-sm-9 personla-inof-input">
                                                        <?php echo $this->formElement($form->get('preferred_city')); ?>
                                                        <?php echo $this->FormElement($form->get('city_search_id')); ?>
                                                        <?php echo $this->formElementErrors($form->get('preferred_city'), ['class' => 'error']); ?>
                                                    </div>
                                                </div>
                                                <!-- /.Preferred City Ends Here -->

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

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

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

                                                <!-- /.Duty Type pref Starts Here -->
                                                <!--<div class="form-group clearfix marginbtom0" id="transer_type">
                                                    <label class="col-sm-3 personal-tytle" >Duty Type pref.<span class="mandat_star red_text">*</span></label>
                                                    <div class="col-sm-9 personla-inof-input padding0 " >
                                                      <?php $dutyType=[1=>'Local',2=>'Point to Point',3=>'Airport',4=>'Outstation',5=>'Oneway',6=>'All'];?>
                                                      <?php foreach($dutyType as $key=>$val){?>
                                                        <div class="col-sm-4 marginbot5" >
                                                            <label class="booking-check"><?php echo $val;?>
                  <input type="checkbox" name="drive_multiple[]" class="duty_type" value="<?php echo $key;?>" id="<?php echo $val;?>">
                                                                <span class="checkmark"></span>
                                                            </label>
                                                        </div>

                                                      <?php }?>

                                                        </div>

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

                                                <!-- /.Payment Type Starts Here -->
                                                <!--<div class="form-group clearfix marginbtom0 paymet-type-mo">
                                                    <label class="col-lg-3 personal-tytle">Payment Type<span class="mandat_star red_text">*</span></label>
                                                    <div class="col-sm-9 personla-inof-input padding0">

                                                      <?php $dutyType=[1=>'Cash',2=>'Credit',3=>'Both'];?>
                                                      <?php foreach($dutyType as $key=>$val){?>

                                                        <div class="col-sm-4 marginbot5" >
                                                            <label class="booking-check"><?php echo $val;?>
                                          <input type="checkbox" name="cash[]" value="<?php echo $key;?>" id="<?php echo $val;?>" class="payment_type">
                                                                 <span class="checkmark"></span>
                                                            </label>

                                                            </div>
                                                          <?php }?>



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

                                                <!-- /.Continue Starts Here -->
                                                <div class="form-group clearfix margintopbottom20">
                                                    <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" ng-click="toggle()" href="#">
                                                            <i class="fa fa-fast-forward "></i>
                                                            Skip
                                                        </a>-->
                                                        <?php echo $this->FormElement($form->get('driver_duty_info')); ?>
                                                    </div>
                                                </div>
                                                <!-- /.Continue Ends Here -->
                                            </div>
                                        <?php echo $this->form()->openTag($form); ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>