<!-- Content Header (Page header) -->
<section class="content-header">
	<div class="container-fluid">
		<div class="row mb-2">
			<div class="col-sm-6">
				<h1 class="m-0">User</h1>
			</div>

			<div class="col-sm-6">
				<ol class="breadcrumb float-sm-right">
					<li class="breadcrumb-item"><a href="dashboard">Dashboard</a></li>
					<li class="breadcrumb-item"><a href="user">User</a></li>
					<li class="breadcrumb-item active">Change password</li>
				</ol>
			</div>
		</div>
	</div>
</section>

<!-- Main content -->
<section class="content">
	<div class="container-fluid">
		<!-- Small boxes (Stat box) -->
		<div class="row">
			<div class="col-md-12">
				<?php $this->load->view( 'flash_message' );?>
			</div>
		</div>

		<div class="row">
			<div class="col-md-12">
				<form id="frmChangePassword" action="user/change-password" method="post">
					<div class="card card-primary">
						<div class="card-header">
							<h3 class="card-title">Change password</h3>
						</div>

						<div class="card-body">
							<div class="row">
								<div class="col-md-6">
									<div class="form-group">
										<label for="current_password">Current Password</label>
										<input type="password" name="current_password" id="current_password" class="form-control" placeholder="Current Password">
									</div>
									<div class="form-group">
										<label for="new_password">New Password</label>
										<input type="password" name="new_password" id="new_password" class="form-control" placeholder="New Password">
									</div>
									<div class="form-group">
										<label for="confirm_new_password">Confirm New Password</label>
										<input type="password" name="confirm_new_password" id="confirm_new_password" class="form-control" placeholder="Confirm New Password">
									</div>
								</div>
							</div>
						</div>

						<input type="hidden" class="form-control" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>" />

						<div class="card-footer">
							<input type="submit" class="btn bg-gradient-primary" value="Save Changes">
							<input type="reset" class="btn bg-gradient-danger" value="Cancel">
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</section>