<style>
    .input-margin{
       margin-bottom: 5px;
    }
</style>
<div class="container">
    <div class="col-sm-12">
        <h2 align="left">Forgot Password</h2>
    </div>
</div>

<div class="container">
    <div class="row">
        <div class="row">
            <div class="col-md-8 col-md-offset-2">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <div class="text-center">
                            <h3><i class="fa fa-lock fa-4x"></i></h3>
                            
                            <p>Please fill in one of the fields below with your account information. Please Contact Us if you require any assistance.</p>
                            <div class="col-lg-12" style="color: red; padding:5px;"><?php echo $msg; ?></div>
                            
                            <?php
            $form = $this->form;
            $form->prepare();
            $form->setAttribute('action', $this->url('forgot-password'));
            $form->setAttribute('method', 'post');
            $form->setAttribute('class', 'forget_password_form');
            echo $this->form()->openTag($form);
            //echo $status_type;
            ?>
                            
                         
                                <div class="form-group clearfix" style="text-align: justify;">
                                    
                                    <div class="col-sm-12 input-margin">
                                        <div class="col-sm-4">
                                            <input class="form-check-input forget_radio" type="radio" name="forget_password" id="gridRadios1" value="forget_userid" <?php if($status_type=='forget_userid') { echo 'checked="checked"';} else { echo 'checked="checked"';}?>>
                        <label class="form-check-label" for="gridRadios1">I Forget My UserId</label>
                                        </div>
                                        <div class="col-sm-4">
                                            <input class="form-check-input forget_radio" type="radio" name="forget_password" id="gridRadios2" value="forget_password" <?php if($status_type=='forget_password') { echo 'checked="checked"';}?>>
                        <label class="form-check-label" for="gridRadios2">I Forget My Password</label>
                                        </div>
                                        
                                        <div class="col-sm-4">
                                            <input class="form-check-input forget_radio" type="radio" name="forget_password" id="gridRadios3" value="forget_email_mobile" <?php if($status_type=='forget_email_mobile') { echo 'checked="checked"';} ?>>
                    <label class="form-check-label" for="gridRadios3">I Forget My Email / Mobile</label>
                                        </div>
                                    </div>
                                    
                                    <div class="col-sm-12 input-margin">
                          
     <div class="forget_userid <?php if($status_type=='forget_userid' || $status_type=="") { echo "disable_block";} else { echo "disable_none";}?>">
                           <div class="col-sm-12 input-margin">
                            <?php echo $this->FormElement($form->get('user_type')); ?>
                            <span class="showerror">
                                <?php echo $this->formElementErrors($form->get('user_type'), ['class' => 'error']); ?>
                            </span>
                            </div>
                            <div class="col-sm-12 input-margin">
                            <?php echo $this->FormElement($form->get('userid_email_mobile')); ?>
                            <span class="showerror">
                                <?php echo $this->formElementErrors($form->get('userid_email_mobile'), ['class' => 'error']); ?>
                            </span>
                            </div>
                        </div>
                        </div>

                    <div class="col-sm-12 input-margin">
                        
 <div class="forget_password <?php if($status_type=='forget_password') { echo "disable_block";} else { echo "disable_none";}?>">
                            <div class="col-sm-12 input-margin">
                            <?php echo $this->FormElement($form->get('password_user_name')); ?>
                            <span class="showerror">
                                <?php echo $this->formElementErrors($form->get('password_user_name'), ['class' => 'error']); ?>
                            </span>
                            </div>
                            <div class="col-sm-12 input-margin">
                            <?php echo $this->FormElement($form->get('password_email_mobile')); ?>
                            <span class="showerror">
                               <?php echo $this->formElementErrors($form->get('password_email_mobile'), ['class' => 'error']); ?>
                            </span>
                            </div>
                        </div>
                    </div>
                                    
                <div class="col-sm-12 input-margin">
                   
<div class="forget_email_mobile <?php if($status_type=='forget_email_mobile') { echo "disable_block";} else { echo "disable_none";}?>">
                        <div class="col-sm-12 input-margin">
                        <?php echo $this->FormElement($form->get('email_mobile_user_name')); ?>
                        <span class="showerror">
                            <?php echo $this->formElementErrors($form->get('email_mobile_user_name'), ['class' => 'error']); ?>
                        </span>
                        </div>
                    </div>
                </div>
                                    
                                    <div class="col-sm-12">
                                        <div class="col-sm-12 input-margin">
                                     <?php echo $this->FormElement($form->get('forgetpassword_submit')); ?>
                                        </div>
                                    </div>

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