
<section class="login" style="background: #fff !important;">
    <div class="login-inner" style="margin-bottom: 2%;background: #F2F9EA !important">
        <div class="white-bg row padding-zero">
            <div class="col-sm-6 col-sm-offset-3 text-center ">
                <h1 style="text-align:center !important">Recover Password </h1>
            </div>
            <div class="col-sm-3 text-center padding-zero ">
                Not registered yet? <a href="<?php echo base_url() ?>sign-up">Sign UP</a>
            </div>
            <div class="col-sm-12"><br></div>
            <div class="col-sm-6 col-sm-offset-3">
                <?php
                    $url = 'reset-password';
                    echo form_open_multipart($url, 'class="cmxform" id="formID2" name="recover_password_form"');
                ?>
                    <div class="input-group">
                                <input type="hidden" value="<?php echo $person_id ?>" name="person_id">
                                <input id="person_password" name="person_password" type="password" 
                                       data-errormessage-value-missing="Please Type Your New Password !" 
                                       class="form-control validate[required,custom[password]]"
                                       placeholder="Please Type new Password" 
                                       aria-describedby="basic-addon1" style="border-radius: 2px">
                                <span class="input-group-addon" id="basic-addon1"><i class="fa fa-lock"></i></span>
                                <input type="hidden" name="pass_stat" id="pass_stat" value="3">
                            </div>
                            <span id="person_password_message" style="color:red;"><?php echo form_error('person_password'); ?></span>
                            <br/>
                            <div class="input-group">
                                <input id="confirm_password" name="confirm_password" 
                                       type="password" data-errormessage-value-missing="Please Type Your Cofirm Password !" 
                                       class="form-control validate[required, custom[matchPassword]]" 
                                       placeholder="Please Type Confirm Password" aria-describedby="basic-addon1" style="border-radius: 2px">
                                <span class="input-group-addon" id="basic-addon1"><i class="fa fa-lock"></i></span>
                                <input type="hidden" name="pass_match_stat" id="pass_match_stat" value="0">
                            </div>
                            <span id="confirm_password_message" style="color:red;"><?php echo form_error('confirm_password'); ?></span>
                            <br/>
                            
                    <input type="submit" 
                           class="sign-in-btn1 btn btn-default" 
                           value="Submit"><br/><br/>
                    <div class="row">
                        <a href="<?php echo base_url() ?>forgot-password" class="underline">Forgot password?</a> |
                        <a href="<?php echo base_url() ?>sign-up" class="underline">Create new account</a>
                    </div><br/><br/>
                </form>
                <?php 
                    echo form_close();
                ?>
            </div>
        </div><!-- /.row -->
    </div><!-- /.Service inner -->
</section>

<script src="<?php echo base_url() ?>front_end_resource/sign_up/sign_up.js" type="text/javascript"></script>