<div class="container">
    <div class="row">
        <div class="col-md-2">
            <div class="panel panel-default">
                
                <!--Left panel heading-->
                <div class="panel-heading">
                    <h3 class="panel-title">My Listings</h3>
                </div>

                 <!--Left panel body-->
                <div class="panel-body">
                    <ul class="nav nav-pills nav-stacked">
                        <li><a href="<?php echo base_url(); ?>careers_listings/my_jobs_list">
                                <span class="badge pull-right"><?php echo $total; ?></span>
                                Jobs</a></li>
                        <li class="active"><a href="<?php echo base_url(); ?>careers_listings/my_resume_list">
                                <span class="badge pull-right"><?php echo $ptotal; ?></span>
                                Resume</a></li>
                    </ul>
                </div>
            </div>
        </div>

<!--Mid panel heading-->
<div class="col-md-6">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h2 class="form-signin-heading">Edit Resume Information</h2>
        
        </div>
        
        <?php $attributes = array(
            'class' => 'form-horizontal',
        ); ?>
        
        <?php echo validation_errors('<p class="alert alert-dismissable alert-danger">'); ?>
        
        <?php // if($this->session->flashdata('engine_updated')) : ?>
        <!--<p class="alert alert-dismissable alert-success"><?php // echo $this->session->flashdata('engine_updated'); ?></p>-->
        <?php // endif; ?>
            
        <?php echo form_open_multipart('careers_listings/edit_resume_listing/' .$this_listing->resume_id.'', $attributes); ?>
        
            <!--Mid panel body-->        
        <div class="panel-body">
            			
            <div class="form-group">           
                            <label for="r_skills" class="col-sm-3 control-label">Skills:</label>
                            <div class="col-sm-5">
                                <input type="text" class="form-control" id="r_skills" name="r_skills" value="<?php echo $this_listing->r_skills; ?>">
                            </div>
                        </div>
            <div class="form-group">           
                            <label for="r_job_history" class="col-sm-3 control-label">Most Recent Job:</label>
                            <div class="col-sm-5">
                                <input type="text" class="form-control" id="r_job_history" name="r_job_history" value="<?php echo $this_listing->r_job_history; ?>">
                            </div>
                        </div>
            <div class="form-group">           
                            <label for="education" class="col-sm-3 control-label">Most Recent Degree:</label>
                            <div class="col-sm-5">
                                <input type="text" class="form-control" id="education" name="education" value="<?php echo $this_listing->education; ?>">
                            </div>
                        </div>
            <div class="form-group">           
                            <label for="r_phone" class="col-sm-3 control-label">Phone Number:</label>
                            <div class="col-sm-5">
                                <input type="text" class="form-control" id="r_phone" name="r_phone" value="<?php echo $this_listing->r_phone ?>">
                            </div>
                        </div>
            <div class="form-group">           
                        <label for="r_filename" class="col-sm-3 control-label">Resume File:</label>
                        <div class="col-sm-5">
                            <input type="file" class="form-control" name="r_filename" size="20">
                        </div>
                    </div>  				           
            <div class="form-group">
                            <div class="col-sm-offset-3 col-sm-10">
                                <button type="submit" class="btn btn-primary btn-xs">Save 
                                <i class="glyphicon glyphicon-log-in"></i></button>
                                <a href="<?php echo base_url(); ?>careers_listings/my_resume_list">
                               
                                    
                                    <button type="button" class="btn btn-default btn-xs">Close</button></a>
                            </div>
                        </div>

                        
        </div>
            <?php echo form_close(); ?>
            
            
       
    </div>
</div>

    </div>
</div>