Location: PHPKode > scripts > Upble > upble-master/application/views/auth/reset_password_form.php
<?php
$new_password = array(
	'name'	=> 'new_password',
	'id'	=> 'new_password',
	'maxlength'	=> $this->config->item('password_max_length', 'tank_auth'),
	'size'	=> 30,
);
$confirm_new_password = array(
	'name'	=> 'confirm_new_password',
	'id'	=> 'confirm_new_password',
	'maxlength'	=> $this->config->item('password_max_length', 'tank_auth'),
	'size' 	=> 30,
);
?>
<?php $this->load->view('header.php'); ?>
<div id="content">
	<div id="top" class="clearfix">
		<div class="span-16"><h1>Reset Password</h1></div>
		
	</div>
	<div class="box">
		<?php echo form_open($this->uri->uri_string()); ?>
		<table class="user_table">
			<tr>
				<td><?php echo form_label('New Password', $new_password['id']); ?></td>
				<td><?php echo form_password($new_password); ?></td>
				<td style="color: red;"><?php echo form_error($new_password['name']); ?><?php echo isset($errors[$new_password['name']])?$errors[$new_password['name']]:''; ?></td>
			</tr>
			<tr>
				<td><?php echo form_label('Confirm New Password', $confirm_new_password['id']); ?></td>
				<td><?php echo form_password($confirm_new_password); ?></td>
				<td style="color: red;"><?php echo form_error($confirm_new_password['name']); ?><?php echo isset($errors[$confirm_new_password['name']])?$errors[$confirm_new_password['name']]:''; ?></td>
			</tr>
			<tr><td>&nbsp;</td><td ><?php echo form_submit('change', 'Change Password'); ?></td><td>&nbsp;</td></tr>
		</table>

		<?php echo form_close(); ?>
	</div>
		
</div>		
<?php $this->load->view('footer.php'); ?>
Return current item: Upble