<?php $this->load->view('includes/header'); ?>
<div class="page-title">                    
  <h2><span ></span><?php echo $heading_title; ?></h2>
</div>
<div class="page-content-wrap"> 
  <div class="fix"></div>
  <?php //print_r($mres); ?>
  <div class="row">

    <div class="col-md-12">
      <?php if ($this->session->flashdata('success')) { ?>
        <div class="alert alert-info">
          <?php echo $this->session->flashdata('success'); ?>
        </div>
      <?php } ?>
      <div class="panel panel-default">
        <div class="panel-body">
          <?php //echo validation_message(); ?>

          <?php echo form_open('sitepanel/kisan_mitra/edit_password/', 'class="form-horizontal"'); ?> 

          <div class="form-group">
            <label class="col-md-3 col-xs-12 control-label"><span class="required">*</span>Old Password</label>
            <div class="col-md-6 col-xs-12">                                                                                         
              <input type="password" name="old_pass" class="form-control" value="<?php echo set_value('old_pass');?>" /> 
              <?php echo form_error("old_pass");?>
            </div>
          </div>
          <div class="form-group">
            <label class="col-md-3 col-xs-12 control-label"><span class="required">*</span>New Password</label>
            <div class="col-md-6 col-xs-12">                                                                                          
              <input type="password" name="new_pass" class="form-control" value="<?php echo set_value('new_pass');?>" />  
              <?php echo form_error("new_pass");?>
            </div>
          </div>
          <div class="form-group">
            <label class="col-md-3 col-xs-12 control-label"><span class="required">*</span>Confirm Password</label>
            <div class="col-md-6 col-xs-12">                                                                                          
              <input type="password" name="confirm_password" value="<?php echo set_value('confirm_password');?>" class="form-control" />  
              <?php echo form_error("confirm_password");?>
            </div>
          </div>
          <div class="form-group">
            <div class="col-md-8">
              <input type="submit" class="btn bg-red pull-right" value="Update Info"  />
            </div>
          </div>
          <?php echo form_close(); ?>
        </div>
      </div>
    </div>
  </div>
</div>


<?php $this->load->view('includes/footer'); ?>