      <!-- Content Wrapper. Contains page content -->
      <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            Edit Profile
          </h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
            <li><a href="#">User Management</a></li>
            <li class="active"> Edit Profile</li>
          </ol>
        </section>

        <!-- Main content -->
        <section class="content">
          <div class="row">         
           
           <div class="col-md-12">
              <div class="box box-success">
                <div class="box-header with-border">
                  <h3 class="box-title"> Edit Profile</h3>
                </div><!-- /.box-header -->
                
                 <!-- form start -->
                <form role="form"  action="<?php echo site_url(); ?>user_management/update_user_profile/<?php echo $row[0]['user_id']?>" method="post" enctype="multipart/form-data">
                	<div class="row">
                    <div class="col-md-8">
                	<div class="box-body">
               	      <div class="col-md-5">
                      <img src="<?php echo base_url(); ?>images/profile_photos/<?php echo $row[0]['photo']?>" alt="Profile PIC" width="245px" height="195px" />
                      <div class="clear-fix"></div>
                      <h5>Upload a different photo...</h5>
          			  <input type="file" class="form-control" name="userfile" value="<?php echo $row[0]['photo']?>" >    
                      <input type="hidden"  name="national_id_no" value="<?php echo $row[0]['national_id_no']?>" >
                      </div>
                      <div class="col-md-7">                          
                        
                        <div class="row">
                        <?php echo form_error('first_name'); ?> <br/>
                        <label class="col-sm-4 blue-btn info_field">First Name</label>
                        <div class="col-sm-8 info_field">                        	
                <input type="text" class="form-control" name="first_name"  value="<?php echo $row[0]['first_name'];?>" >
                        </div>
                        </div>
                        <div class="row">
                        <?php echo form_error('other_names'); ?> <br/>
                        <label class="col-sm-4 blue-btn info_field">Other Names</label>
                        <div class="col-sm-8 info_field">                        	
                <input type="text" class="form-control" name="other_names" value="<?php echo $row[0]['other_names'];?>" >
                        </div>
                        </div>
                        <div class="row">
                        <?php echo form_error('email_address'); ?> <br/>
                        <label class="col-sm-4 blue-btn info_field">Email Address</label>
                        <div class="col-sm-8 info_field">                        	
                <input type="text" class="form-control" name="email_address" value="<?php echo $row[0]['email_address'];?>" >
                        </div>
                        </div>
                        <div class="row">
                        <?php echo form_error('phone_no'); ?> <br/>
                        <label class="col-sm-4 blue-btn info_field">Phone No.</label>
                        <div class="col-sm-8 info_field">                        	
                <input type="text" class="form-control" name="phone_no" value="<?php echo $row[0]['phone_no'];?>" >
                        </div>
                        </div>
                        
                    </div>                           
                      
                              
                    </div><!-- /.box-body -->
                    
                    <div class="box-footer">
                    <div class="form-group">
                      <div class="col-md-offset-5 col-md-7">
                          <button type="submit" class="btn btn-success btn-label-left btn-block">
                              Submit
                          </button>
                      </div>
                      
					</div>
                  </div>
                
                </div><!-- /.col-md-8 inside the form -->
                </div><!-- /.row inside the form -->     
                </form>      
              </div><!-- /.box -->  
              
             </div><!-- /.close wrapper div for col-md-12 --> 
           
          </div>   <!-- /.row -->
        </section><!-- /.content -->
      </div><!-- /.content-wrapper -->