<div class="panel-headingnew"> <?php echo $this->translate('User Search'); ?> </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('usermanagement', ['action' => $action]));
        $form->setAttribute('method', 'post');
        $form->setAttribute('id', 'user-search-form');
        echo $this->form()->openTag($form);
        ?>
        <!--                                        <form id="user_management">-->
        <div class="tab-content" id="myTabContent">
            <div id="home" class="tab-pane fade active in">
                <div class="col-sm-col-sm-offset-1 margin-10auto0 paddingRL10px">
                    <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">User-Id</label>
                                <div class="col-sm-3 col-sm-4-new">
                                    <?php echo $this->FormElement($form->get('user_id')); ?>
                                </div>
                                <label class="col-sm-3 control-label labelalign col-sm-3-new" id="point_airport">First Name</label>
                                <div class="col-sm-3 col-sm-4-new">
                                    <?php echo $this->FormElement($form->get('name')); ?>
                                </div>
                            </div>

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

                                <label class="col-sm-3 control-label labelalign col-sm-3-new" id="">Email</label>
                                <div class="col-sm-3 col-sm-4-new">
                                    <?php echo $this->FormElement($form->get('email')); ?>
                                </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('country_id'))); ?></label>
                                <div class="col-sm-3 col-sm-4-new">
                                    <?php echo $this->FormElement($form->get('country_id')); ?>
                                </div>

                                <label class="col-sm-3 control-label labelalign col-sm-3-new" id="">
                                    <?php echo $this->translate($this->formLabel($form->get('state_id'))); ?></label>
                                <div class="col-sm-3 col-sm-4-new">
                                    <?php echo $this->FormElement($form->get('state_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('city_id'))); ?></label>
                                <div class="col-sm-3 col-sm-4-new">
                                    <?php echo $this->FormElement($form->get('city_id')); ?>
                                </div>
<?php if($user_type=='user'){?>
                                <label class="col-sm-3 control-label labelalign col-sm-3-new" id=""> User Type </label>
                                <div class="col-sm-3 col-sm-4-new">
                                    <?php echo $this->FormElement($form->get('user_type')); ?>
                                </div>
<?php }else{ ?>
         <label class="col-sm-3 control-label labelalign col-sm-3-new" id="">
                                    <?php echo $this->translate($this->formLabel($form->get('user_type_status'))); ?></label>
                                <div class="col-sm-3 col-sm-4-new">
                                    <?php echo $this->FormElement($form->get('user_type_status')); ?>
                                </div>                        
                                
<?php }?>
                            </div>
  <?php if($user_type=='user'){?>                          
                            <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('user_type_status'))); ?></label>
                                <div class="col-sm-3 col-sm-4-new">
                                    <?php  echo $this->FormElement($form->get('user_type_status')); ?>
                                </div>
                            </div>
  <?php }?>
<!--                            <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">
                                            <label for="active"><span class="radio">Active</span></label>
                                        </div>
                                    </div>
                                    <div class="col-sm-6 no-padding">

                                        <div class="carbooking">
                                            <input type="radio" name="status" id="deactive" value="0">
                                            <label for="deactive"><span class="radio">De-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 ">
                                    <?php echo $this->FormElement($form->get('search_user')); ?>
                                    <?php echo $this->FormReset($form->get('clear_button')); ?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--                                        </form>-->
        <?php echo $this->form()->closeTag(); ?>
    </div>
</div>