<?php $this->load->view('includes/header'); ?>  
<div class="page-title">                    
  <h2><span ></span><?php echo $heading_title; ?></h2>
  <div class="buttons">
    <a href="javascript:void(0);" onclick="history.back();" class="btn btn-primary pull-right">Cancel</a>  
  </div>
</div>
<div class="page-content-wrap">                

  <div class="row">

    <div class="col-md-12">
      <div class="panel panel-default">
        <div class="panel-body">
          <?php echo validation_message(); ?>
          <?php echo form_open_multipart("", 'class="form-horizontal"'); ?> 

          <div class="form-group">
            <label class="col-md-3 col-xs-12 control-label"><span class="required">*</span>Name</label>
            <div class="col-md-9 col-xs-12">
              <input type="text" name="first_name" class="form-control" value="<?php echo set_value('first_name', $res['first_name']); ?>" />                                                    
            </div>
          </div>
          
          <div class="form-group">
            <label class="col-md-3 col-xs-12 control-label"><span class="required">*</span>Mobile Number</label>
            <div class="col-md-9 col-xs-12">
              <input type="text" name="mobileNumber" class="form-control" value="<?php echo set_value('mobileNumber', $res['mobile_number']); ?>" />                                                    
            </div>
          </div>
          
          <div class="form-group">
            <label class="col-md-3 col-xs-12 control-label"><span class="required">*</span>Email ID</label>
            <div class="col-md-9 col-xs-12">
              <input type="email" name="emailAddress" class="form-control" value="<?php echo set_value('emailAddress', $res['email']); ?>" />                                                    
            </div>
          </div>
          
          <div class="form-group">
            <label class="col-md-3 col-xs-12 control-label"><span class="required">*</span>Quantity</label>
            <div class="col-md-9 col-xs-12">
              <input type="text" name="quantity" class="form-control" value="<?php echo set_value('quantity', $res['quantity']); ?>" />                                                    
            </div>
          </div>
          
          <div class="form-group">
            <label class="col-md-3 col-xs-12 control-label"><span class="required">*</span>Comments</label>
            <div class="col-md-9 col-xs-12">
              <textarea name="enquiryMessage" rows="5" class="form-control" cols="50" id="testimonial_description" ><?php echo set_value('enquiryMessage', $res['message']); ?></textarea>
            </div>
          </div>
          <div class="form-group">
            <div class="col-md-9 col-xs-12">
              <input type="submit" name="sub" value="Edit Enquiry" class="btn bg-red pull-right" />                        </div>
          </div>
          <?php echo form_close(); ?>
        </div>
      </div>
    </div>
  </div>
</div>

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