<style>
    .test_class{
            margin-left: -30px;
            width: 74px;
    }
</style>
<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"><?php echo $this->translate('Add New User License'); ?> </div>
                                <div class="left_panel col-sm-12 padding_margin0" id="add_detail" style="float:left; background:#fff;">
                                    <div class="tab-content tab_editprofile col-sm-12" style="padding-left:0; margin-top:10px; margin-bottom:10px;">
                                        <div class="tab-pane fade in tab_editprofile tab_editprofile1 active">
                                            <div class="change_password tab_editprofile">
                                                <div class="tab-content">
                                                    <div class="tab-pane fade active in">
                                                        <div style="margin: 10px auto 0px !important;padding: 0 10px;" class="col-sm-col-sm-offset-1">

                                                            <section id="main-form" class="padding12top">
                                                                <div class="container">
                                                                    <div class="" id="reg_form">

                                                                        <div class="col-sm-12" align="" id="login_detail">
                                                                            <div>
                                                                                <?php echo "<font color='red'><strong>$error_msg</strong></font>"; ?>
                                                                            </div>
                                                                            <div class="row">

                                                                                <div class="col-md-12">
                                                                                    <?php
                                                                                    $form = $this->form;
                                                                                    $form->prepare();
                                                                                    //$form->setAttribute('action', $this->url('common-user', ['action' => 'index']));
                                                                                    $form->setAttribute('method', 'post');
                                                                                    $form->setAttribute('id', 'registration-form');
                                                                                    echo $this->form()->openTag($form);
                                                                                    ?>
                                                                                    
                        <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('first_name'))); ?></label>
            <div class="col-sm-3 col-sm-4-new">
                <?php echo $this->FormElement($form->get('first_name')); ?>
                <?php echo $this->FormElementErrors($form->get('first_name'), ['class' => 'error']); ?>
            </div>
            <label class="col-sm-3 control-label labelalign col-sm-3-new"><?php echo $this->translate($this->formLabel($form->get('last_name'))); ?></label>
            <div class="col-sm-3 col-sm-4-new">
                <?php echo $this->FormElement($form->get('last_name')); ?>
                <?php echo $this->FormElementErrors($form->get('last_name'), ['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('email'))); ?></label>
        <div class="col-sm-3 col-sm-4-new">
        <?php echo $this->FormElement($form->get('email')); ?>
        <?php echo $this->FormElementErrors($form->get('email'), ['class' => 'error']); ?>
        </div>
        <label class="col-sm-3 control-label labelalign col-sm-3-new">
            <?php echo $this->translate($this->formLabel($form->get('contact_no'))); ?></label>
        <div class="col-sm-3 col-sm-4-new">
         <div class="col-sm-12">
                        <div class="col-sm-2">
                            <?php echo $this->formElement($form->get('prefix_contact_no')); ?>
                        </div>
                        <div class="col-sm-10">
                            <?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>
        </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('password'))); ?></label>
            <div class="col-sm-3 col-sm-4-new">
                <?php echo $this->FormElement($form->get('password')); ?>
                <?php echo $this->FormElementErrors($form->get('password'), ['class' => 'error']); ?>
            </div>
            <label class="col-sm-3 control-label labelalign col-sm-3-new">
                <?php echo $this->translate($this->formLabel($form->get('confirm_password'))); ?></label>
            <div class="col-sm-3 col-sm-4-new">
                <?php echo $this->FormElement($form->get('confirm_password')); ?>
                <?php echo $this->FormElementErrors($form->get('confirm_password'), ['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('company_name'))); ?></label>
            <div class="col-sm-3 col-sm-4-new">
                <?php echo $this->FormElement($form->get('company_name')); ?>
                <?php echo $this->FormElementErrors($form->get('company_name'), ['class' => 'error']); ?>
            </div>
            <label class="col-sm-3 control-label labelalign col-sm-3-new">
                <?php echo $this->translate($this->formLabel($form->get('company_address'))); ?></label>
            <div class="col-sm-3 col-sm-4-new">
                <?php echo $this->FormElement($form->get('company_address')); ?>
                <?php echo $this->FormElementErrors($form->get('company_address'), ['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('company_website[]'))); ?></label>
            <div class="col-sm-3 col-sm-4-new">
                <?php echo $this->FormElement($form->get('company_website[]')); ?>
                <?php echo $this->FormElementErrors($form->get('company_website[]'), ['class' => 'error']); ?>
            </div>
            <label class="col-sm-3 control-label labelalign col-sm-3-new">
                <?php echo $this->translate($this->formLabel($form->get('company_postal'))); ?></label>
            <div class="col-sm-3 col-sm-4-new">
                <?php echo $this->FormElement($form->get('company_postal')); ?>
                <?php echo $this->FormElementErrors($form->get('company_postal'), ['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($form->get('nationality')->getLabel()); ?></label>
            <div class="col-sm-3 col-sm-4-new">
                <?php echo $this->FormElement($form->get('nationality')); ?>
                 <?php echo $this->formElement($form->get('nationality_value')); ?>
                <?php echo $this->FormElementErrors($form->get('nationality'), ['class' => 'error']); ?>
            </div>
            <label class="col-sm-3 control-label labelalign col-sm-3-new">
                <?php echo $this->translate($this->formLabel($form->get('package_module'))); ?></label>
            <div class="col-sm-3 col-sm-4-new">
                <?php echo $this->FormElement($form->get('package_module')); ?>
                <?php echo $this->FormElementErrors($form->get('package_module'), ['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('package'))); ?></label>
            <div class="col-sm-3 col-sm-4-new">
                <?php echo $this->FormElement($form->get('package')); ?>
                <?php echo $this->FormElementErrors($form->get('package'), ['class' => 'error']); ?>
            </div>
            <label class="col-sm-3 control-label labelalign col-sm-3-new">
                <?php echo $this->translate($this->formLabel($form->get('license_option'))); ?></label>
            <div class="col-sm-3 col-sm-4-new">
                <?php echo $this->FormElement($form->get('license_option')); ?>
                <?php echo $this->FormElementErrors($form->get('license_option'), ['class' => 'error']); ?>

            </div>
        </div>  
                                                                                            
        <div class="form-group">
            <div class="col-sm-12">
                <label class="booking-check">Accept the Terms and Conditions (Receive Updates & Offers)<span class="mandat_star red_text">*</span>
                    <?php echo $this->formElement($form->get('agreeterms')); ?>
                    <?php echo $this->formElementErrors($form->get('agreeterms'), ['class' => 'error']); ?>
                    <span class="checkmark"></span>
                </label>

            </div>
        </div>
                                                                                    


<div class="form-group">
        <div class="col-sm-12">
            <?php echo $this->formElement($form->get('registration_type')); ?>
            <?php echo $this->FormElement($form->get('login_detail')); ?>

        </div>



                                        </div>
                                                                                     <?php echo $this->form()->closeTag(); ?>
                                                                                </div>

                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                            </section>
                                                        </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
</section>