92 lines
4.3 KiB
PHP
Executable File
92 lines
4.3 KiB
PHP
Executable File
<!--sidebar end-->
|
|
<!--main content start-->
|
|
<?php if($this->session->flashdata('feedback_error')){ ?>
|
|
<script>
|
|
Swal.fire({
|
|
position: 'center',
|
|
icon: 'error',
|
|
title: '<?php echo $this->session->flashdata('feedback_error'); ?>',
|
|
showConfirmButton: false,
|
|
timer: 3500
|
|
})
|
|
</script>
|
|
<?php } ?>
|
|
<?php if($this->session->flashdata('feedback_success')){ ?>
|
|
<script>
|
|
Swal.fire({
|
|
position: 'center',
|
|
icon: 'success',
|
|
title: '<?php echo $this->session->flashdata('feedback_success'); ?>',
|
|
showConfirmButton: false,
|
|
timer: 3500
|
|
})
|
|
</script>
|
|
<?php } ?>
|
|
<div class="app-content content">
|
|
<section class="content-wrapper">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<h3 class="font-weight-bold"><?php echo lang('Change Password'); ?></h3>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr class="mt-0 mb-0" />
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="col-md-8">
|
|
<form role="form" action="<?php echo base_url(); ?>CaregiversDashboard/UpdatePassword" class="clearfix" method="post" enctype="multipart/form-data">
|
|
<input type="hidden" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>" />
|
|
<div class="form-group">
|
|
<label for="exampleInputEmail1"><?php echo lang('New password'); ?></label>
|
|
<input type="password" class="form-control" name="password" id="exampleInputEmail1" placeholder="********">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="exampleInputEmail1"><?php echo lang('Confirm password'); ?></label>
|
|
<input type="password" class="form-control" name="repassword" id="exampleInputEmail1" placeholder="********">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="exampleInputEmail1"><?php echo lang('Email'); ?></label>
|
|
<input type="email" class="form-control" name="email" id="exampleInputEmail1" value="
|
|
<?php
|
|
if (!empty($nurse->email)) {
|
|
echo $nurse->email;
|
|
}
|
|
?>
|
|
" readonly>
|
|
</div>
|
|
<input type="hidden" name="id" value='<?php
|
|
if (!empty($nurse->caregiver_table_id)) {
|
|
echo $nurse->caregiver_table_id;
|
|
}
|
|
?>'>
|
|
<input type="hidden" name="ionid" value='<?php
|
|
if (!empty($nurse->ion_user_id)) {
|
|
echo $nurse->ion_user_id;
|
|
}
|
|
?>'>
|
|
<div class="form-group">
|
|
<button type="submit" name="submit" class="btn btn-info pull-right"><?php echo lang('submit'); ?></button>
|
|
</div>
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
|
|
<!--main content end-->
|
|
<!--footer start-->
|
|
|
|
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
|
|
|