File: /home/dmstechonline/crm.chaitanyahospitalvirar.com/application/views/user/change_password.php
<div class="content-wrapper">
<section class="content">
<div class="row">
<div class="col-md-12">
<!-- Custom Tabs (Pulled to the right) -->
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#" ><?php echo $this->lang->line('change_password'); ?></a></li>
<li ><a href="<?php echo site_url('user/user/changeusername') ?>" ><?php echo $this->lang->line('change_username'); ?></a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tab_1-1">
<form action="<?php echo site_url('user/user/changepass') ?>" id="passwordform" name="passwordform" method="post" data-parsley-validate="" class="form-horizontal form-label-left" novalidate="">
<?php if ($this->session->flashdata('success_msg')) { ?>
<?php echo $this->session->flashdata('success_msg') ?>
<?php } ?>
<?php
if ($this->session->flashdata('error_msg')) {
echo $this->session->flashdata('error_msg');
}
?>
<?php echo $this->customlib->getCSRF(); ?>
<div class="form-group <?php
if (form_error('current_pass')) {
echo 'has-error';
}
?>">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name"><?php echo $this->lang->line('current_password') . "<font style='color:#fc2d42'> *</font>"; ?>
</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input name="current_pass" required="required" class="form-control col-md-7 col-xs-12" type="password" value="<?php echo set_value('current_password'); ?>">
</div>
</div>
<div class="form-group <?php
if (form_error('new_pass')) {
echo 'has-error';
}
?>">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name"><?php echo $this->lang->line('new_password') . "<font style='color:#fc2d42'> *</font>"; ?>
</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input required="required" class="form-control col-md-7 col-xs-12" name="new_pass" placeholder="" type="password" value="<?php echo set_value('new_password'); ?>">
</div>
</div>
<div class="form-group <?php
if (form_error('confirm_pass')) {
echo 'has-error';
}
?>">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name"><?php echo $this->lang->line('confirm_password') . "<font style='color:#fc2d42'> *</font>"; ?>
</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input id="confirm_pass" name="confirm_pass" placeholder="" type="password" value="<?php echo set_value('confirm_password'); ?>" class="form-control col-md-7 col-xs-12" >
</div>
</div>
<div class="box-footer">
<div class="form-group">
<div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3">
<button type="submit" class="btn btn-info"><?php echo $this->lang->line('change_password'); ?></button>
</div>
</div>
</div>
</form>
</div>
<!-- /.tab-pane -->
</div>
<!-- /.tab-content -->
</div>
<!-- nav-tabs-custom -->
</div>
<!-- /.col -->
</div>
</section>
</div>