<section class="content-header">
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-home"></i>Home</a></li>
        <li class="active"><a href="#">Deshboard</a></li>
        <li class="active">Add User</li>
    </ol>
</section>

<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('vehicle-details', ['action' => 'add']));
                                    $form->setAttribute('method', 'post');
                                    $form->setAttribute('id', 'driver-login-form');
                                    //$form->setAttributes(['name'=>'license_detail_form', 'id'=>'license-detail-form',
                                    //'onsubmit'=>"return formSubmit7('license-detail-form','/profile/index')"]);
                                    
                                    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="width:40%; float:none;" >
                                        <label class="col-sm-12"><strong>Login ID</strong></label>
                                        <div class="clearfix"></div>
                                        <div class="col-sm-12">
                                            <?php echo $this->FormElement($form->get('login_id')); ?>
                                            <span class="showerror"><?php echo $this->formElementErrors($form->get('login_id'), ['class' => 'error']); ?></span>
                                        </div>
                                        <div class="clearfix"></div>
                                        <label class="col-sm-12 "><strong>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 class="clearfix"></div>
                                        <label class="col-sm-12"><strong>Confirm Password</strong></label>
                                        <div class="clearfix"></div>
                                        <div class="col-sm-12">
                                            <?php echo $this->FormElement($form->get('confirm_password')); ?>
                                            <span class="showerror"><?php echo $this->formElementErrors($form->get('confirm_password'), ['class' => 'error']); ?></span>
                                        </div>
                                        <div class="clearfix"></div>
                                        <div class="modal-footer" style="border:none !important;">                                            
                                            <?php echo $this->FormElement($form->get('save_login_detail')); ?>
                                        </div>
                                    </div>
                                </div>
                                <?php echo $this->form()->closeTag(); ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>