<?php defined('BASEPATH')or exit("No Direct Access is Allowed");?>
 <div class="services-login1">
<div class="container student-logins reset-bg">
<?php $segment  = end($this->uri->segments);//echo $segment;die;?>
<?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; ?>

	  <div class="reg1">
          <h3 class="reg1x">Reset Password Form</h3>
      </div>
		<div class="loginx agileits">
			<?php echo form_open("teacher/password/reset/{$segment}");?>
			<div class="input-group" style="display:block;">
						<label class="email-box">New Password</label>
							<!-- <input type="password" id="pwd" class="form-control" placeholder="Password" name="pass" id="pwd"> -->
                              <?php echo form_error('password','<p class="text-danger">','</p>'); ?>
							  <?=form_password('password','',array('class'=>'form-control pass','placeholder'=>'Password','maxlength'=>'15'));?>
                              <!-- <span class="input-group-btn">
                                 <button class="btn btn-default btn-md" id="showhide" data-val='1'>
								 <span id='eye' class="glyphicon glyphicon-eye-open"></span></button>
                              </span> -->
							  
							  </div>
				
			<div class="input-group">
							<label class="email-box">Confirm Password</label>
							<!-- <input type="password" id="pwd" class="form-control" placeholder="Password" name="pass" id="pwd"> -->
                              <?php echo form_error('confirm_password','<p class="text-danger">','</p>'); ?>
							  <?=form_password('confirm_password','',array('class'=>'form-control pass','placeholder'=>'Confirm Password','maxlength'=>'15'));?>
				
                             <!--  <span class="input-group-btn">
                                 <button class="btn btn-default btn-md" id="showhide" data-val='1'>
								 <span id='eye' class="glyphicon glyphicon-eye-open"></span></button>
                              </span> -->
							  
							  </div>
			
			<div class="row">				
				  <div class="col-sm-12 text-center1">
					<!-- <button type="button" id="submit" name="submit" class="btn btn-primary btn btn-default  send-btns btn-last-reset">Submit</button> -->
					<?=form_submit('PasswordReset','Password Reset','class="btn btn-primary btn btn-default  send-btns btn-last-reset"')?>
        			<?php echo form_close();?>
				  </div>
				</div>		
			
			
			
			<div class="clear"></div>

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