<?php defined("BASEPATH")or exit("NO DIRECT ACCESS IS ALLOWED");?>
 <div class="services-login services-login1">

<div class="container">
<div class="col-md-12 text-center">

<?php if ($this->session->flashdata('success') == TRUE): ?>
  <div class="alert alert-success"><?php echo $this->session->flashdata('success'); ?></div>
<?php endif; ?>
<?php if ($this->session->flashdata('danger') == TRUE): ?>
  <div class="alert alert-danger alert-dismissible"><?php echo $this->session->flashdata('danger'); ?></div>
<?php endif; ?>
<span class="what-offer-span forget-pasu">Already have a  Password? 
			  <a href="<?php echo site_url('student/signin');?>" class="popup-with-zoom-anim hvr-underline-from-left register-pops">Sign in</a></span>
                         <!--<button type="button" id="submit" name="submit" class="btn btn-primary btn btn-default  send-btns forget-btn">Back</button>	-->	
                        </div>
	<div id="passwordreset" style="margin-top: 10px;" class="mainbox col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2">
	
                    <div class="panel panel-info1">

                        <div class="panel-body" >
                            <!-- <form id="forget-form" class="form-horizontal" role="form" name="registration"> -->
                            <?php echo form_open('student/password/forget');?>
                                <div class="form-group">
								 <div class="form-group col-lg-12 col-md-12 col-sm-12">
								 
                                   <h1 class="text-center1" style="margin-top:5px;margin-bottom:5px;font-size:18px;">Enter Your Registered Email Address</h1>
									</div>
                                    <div class="form-group col-lg-12 col-md-12 col-sm-12">
                                      <!-- <input class="form-control login-input" type="email" name="email-forget" placeholder="Enter your E-mail Address " style="
                                    width: 100%;
                                    border: 1px solid #e9e9e9;
                                    padding: 10px; height:44px;
                                    ">-->
                                    <?php echo form_error('email','<p class="text-danger">','</p>'); ?>
									<?=form_input('email',set_value('email'),array('class'=>'form-control user','placeholder'=>'Enter your Email Address',
									    'style'=>"
                                    width: 100%;
                                    border: 1px solid #e9e9e9;
                                    padding: 10px; height:44px;
                                    "
									));?>
				
									  <P style="font-size:12px;"> We'll send you an email with a link to reset your password.</p>
                                    </div>
 

 

                                </div> 
                      
												
                                </div>
                                    
                               <div class="col-sm-12 text-center">
<!-- <button type="submit" id="submit" name="submit" class="btn btn-primary btn btn-default  send-btns logins-btn-forget btn-block" style="padding: 6px 8px;

     font-size: 17px;margin-top: -19px;">Password Reset</button>-->
     <?=form_submit('PasswordReset','Password Reset','class="btn btn-primary btn btn-default  send-btns logins-btn-forget btn-block"','style="padding: 6px 8px;

     font-size: 17px;margin-top: -19px;"')?>
        			<?php echo form_close();?>
                         <!--<button type="button" id="submit" name="submit" class="btn btn-primary btn btn-default  send-btns forget-btn">Back</button>	-->	
                        </div> 
                           
                         </div>
                    </div>
         </div> 
    </div>

</div>

<script src="https://cdn.jsdelivr.net/jquery.validation/1.15.1/jquery.validate.min.js" type="text/javascript"></script>
<script>/*
 $(document).ready(function () {
			      
  // Initialize form validation on the registration form.
  // It has the name attribute "registration"
  $("form[name='registration']").validate({
    // Specify validation rules
    rules: {
      // The key name on the left side is the name attribute
      // of an input field. Validation rules are defined
      // on the right side
     
      email: {
        required: true,
        // Specify that email should be validated
        // by the built-in "email" rule
        email: true
      }
      },
    // Specify validation error messages
    messages: {
      email: "Please enter a valid email address"
    },
    // Make sure the form is submitted to the destination defined
    // in the "action" attribute of the form when valid
    submitHandler: function(form) {
      form.submit();
    }
  });

			    });
 */
		
</script>