<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">Add User </div>
                                <?php
                                    $form = $this->form;
                                    $form->prepare();
                                    $form->setAttribute('action', $this->url('usermanagement', ['action' => 'add']));
                                    $form->setAttribute('method', 'post');
                                    $form->setAttribute('id', 'user-login-form');
                                    echo $this->form()->openTag($form);
                                ?>
                                <div class="col-sm-12" align="center" style="background:#fff;" id="login_detail">
                                    <div class="form-controluser" align="left" style="float:none;" >
                                        
                                        <div class="form-group clearfix margintopbottom20">
                                        
                                        <div class="col-sm-4">
                                        <label class="col-sm-12"><strong><?php echo $this->translate($this->formLabel($form->get('user_type'))); ?></strong></label>
                                        <div class="clearfix"></div>
                                        <div class="col-sm-12">
                                            <?php echo $this->FormElement($form->get('user_type')); ?>
                                            <span class="showerror"><?php echo $this->formElementErrors($form->get('user_type'), ['class' => 'error']); ?></span>
                                        </div>
                                        </div>
                                        
                                        <div class="col-sm-4">
                                        <label class="col-sm-12"><strong><?php echo $this->translate($this->formLabel($form->get('first_name'))); ?></strong></label>
                                        <div class="clearfix"></div>
                                        <div class="col-sm-12">
                                            <?php echo $this->FormElement($form->get('first_name')); ?>
                                            <span class="showerror"><?php echo $this->formElementErrors($form->get('first_name'), ['class' => 'error']); ?></span>
                                        </div>
                                        </div>

                                        <div class="col-sm-4">
                                        <label class="col-sm-12"><strong><?php echo $this->translate($this->formLabel($form->get('last_name'))); ?></strong></label>
                                        <div class="clearfix"></div>
                                        <div class="col-sm-12">
                                            <?php echo $this->FormElement($form->get('last_name')); ?>
                                            <span class="showerror"><?php echo $this->formElementErrors($form->get('last_name'), ['class' => 'error']); ?></span>
                                        </div>
                                        </div>

                                        </div>

                                        <div class="form-group clearfix margintopbottom20">
                                            
                                        <div class="col-sm-4">
                                            <label class="col-sm-12"><strong><?php echo $this->translate($this->formLabel($form->get('email'))); ?></strong></label>
                                        <div class="clearfix"></div>
                                        <div class="col-sm-12">
                                            <?php echo $this->FormElement($form->get('email')); ?>
                                            <span class="showerror"><?php echo $this->formElementErrors($form->get('email'), ['class' => 'error']); ?></span>
                                        </div>
                                        </div>
                                        
                                        
                                        <div class="col-sm-4">
                                            <label class="col-sm-12"><strong><?php echo $this->translate($this->formLabel($form->get('contact_no'))); ?></strong></label>
                                        <div class="col-sm-3">

                                                                    <?php echo $this->formElement($form->get('prefix_contact_no')); ?>

                                                                </div>

                                                                <div class="col-sm-9">
                                                                    <?php echo $this->FormElement($form->get('contact_no')); ?>
                                                                    <span class="showerror"><?php echo $this->formElementErrors($form->get('contact_no'), ['class' => 'error']); ?></span>
                                                                </div>
                                        </div>

                                        


                                        <div class="col-sm-4">
                                        <label class="col-sm-12 "><strong><?php echo $this->translate($this->formLabel($form->get('password'))); ?></strong></label>
                                        <div class="clearfix"></div>
                                        <div class="col-sm-12 ">
                                            <?php echo $this->FormElement($form->get('password')); ?>
                                            <span class="showerror"><?php echo $this->formElementErrors($form->get('password'), ['class' => 'error']); ?></span>
                                        </div>
                                        </div>
                                        </div>
                                        
                                        <div class="form-group clearfix margintopbottom20">

                                        <div class="col-sm-4">
                                        <label class="col-sm-12 "><strong><?php echo $this->translate($this->formLabel($form->get('gender'))); ?></strong></label>
                                        <div class="clearfix"></div>
                                        <div class="col-sm-12 ">
                                            <?php echo $this->FormElement($form->get('gender')); ?>
                                            <span class="showerror"><?php echo $this->formElementErrors($form->get('gender'), ['class' => 'error']); ?></span>
                                        </div>
                                        </div>
                                        
                                        <div class="col-sm-4">
                                        <label class="col-sm-12 "><strong><?php echo $this->translate($this->formLabel($form->get('nationality'))); ?></strong></label>
                                        <div class="clearfix"></div>
                                        <div class="col-sm-12 ">
                                            <?php echo $this->FormElement($form->get('nationality')); ?>
                                            <?php echo $this->formElement($form->get('nationality_value')); ?>
                                            <span class="showerror"><?php echo $this->formElementErrors($form->get('nationality'), ['class' => 'error']); ?></span>
                                        </div>
                                        </div>

                                        </div>
                                  
                                        
                                         <div class="col-sm-12 ">
                                        <div class="modal-footer" style="border:none !important;">
                                            <?php echo $this->FormElement($form->get('save_login_detail')); ?>
                                        </div>
                                    </div>
                                    </div>
                                </div>
                                <?php echo $this->form()->closeTag(); ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>