Files
2026-06-27 13:11:58 +07:00

38 lines
2.3 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<section class="content">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<!-- general form elements -->
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">Edit Password</h3>
</div>
<!-- /.box-header -->
<!-- form start -->
<?php if ($this->session->flashdata('alert_message')) { ?>
<div class="alert <?php echo $this->session->flashdata('alert_message')['class']; ?> alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<?php echo $this->session->flashdata('alert_message')['message']; ?>
</div>
<?php } ?>
<form role="form" method="post" action="<?php echo base_url('dashboard/update_password'); ?>">
<div class="box-body">
<div class="form-group">
<label for="password">New Password</label>
<input type="password" class="form-control" id="password" name="password" placeholder="Enter new password" required>
</div>
<div class="form-group">
<label for="confirm_password">Confirm Password</label>
<input type="password" class="form-control" id="confirm_password" name="confirm_password" placeholder="Confirm new password" required>
</div>
</div>
<!-- /.box-body -->
<div class="box-footer">
<button type="submit" class="btn btn-primary">Submit</button>
<a href="<?php echo base_url() ?>dashboard" class="btn btn-default ">Cancel</a>
</div>
</form>
</div>
<!-- /.box -->
</div>
</div>
</section>