<?= $this->include('Views/auth/header');?>
	<p> You can go ahead and reset your password here.</p>
	<form method="POST" action="<?= base_url('new/password');?>">
		<?= csrf_field(); ?>						
		<div class="row">
			<div class="col-md-12"> 	
				<div class="form-floating mb-2">
					<input type="password" name="password" class="form-control passwd" inputmode="password"  id="password" placeholder="Password" autocomplete="new-password"  value="<?= set_value('password') ?>" required>
					<label for="floatingPwd">Password</label>
					<meter max="4" id="password-strength-meter"></meter>
					<p id="password-strength-text"></p>
				</div>
				<div class="form-floating mb-3">
					<input type="password" name="cpass" class="form-control" inputmode="text" id="floatingCpas" placeholder="Re-Type Password" value="<?= set_value('cpass') ?>" required>
					<label for="floatingCpas">Confirm Password</label>
				</div>
			</div>
		</div>
		<input type="hidden" name="token" value="<?= $checkToken->hashed_token ?>">
		<button type="submit" class="btn btn-login w-100">Change Password</button>
	</form>
	<?= $this->include('Views/auth/footer');?>