<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/jquery-ui.css">
<script src="<?php echo base_url();?>assets/js/jquery.js"></script>
<script src="<?php echo base_url();?>assets/js/jquery-ui.min.js"></script> 
<script src="<?php echo base_url();?>assets_front/js/frontendvalidations.js"></script> 
<script language="javascript" type="text/javascript">
//code for to get locations
$(function(){
  $("#p_locationupdate").autocomplete({
    source: "<?php echo base_url();?>front_end/get_work_location_update" // path to the get_birds method
  });
});
//code for to get job name 
</script>
<style>
.reg_error
{
color: #FF0000;
margin-top: 28px;
font-size: 14px;
font-family: sans-serif;
margin-top: 6px;
margin-bottom: 17px;
}
#fname_error ,#lname_error,#email_error,#email_error_valid,#pass_error,#location_error,#job_title_error,#secters_error,#pass_must,#address_can_error,#phone_error
{
display:none;
}
.ui-autocomplete { z-index:2147483647!important; }
</style>
<div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel" style="text-align:center;">Update Location</h4>
      </div>
            	<div class="container">
                    <div class="profile-wrap margin-top-30">
                        <div class="row">
                            <div class="col-sm-9">
                                <div class="tab-content">
                                    <div role="tabpanel" class="tab-paneas">
                                        <ul class="looking-for">
                                        	<li>
                                                <div class="edit-filds">
                                                	<div class="row">
                                                    <div class="col-xs-6">
<form name="location" id="location" method="post" onsubmit="return update_location_form()"  action="<?php echo base_url();?>front_end/edit_can_location"><?php 
foreach($query as $val)
{
?>
<input type="hidden" name="location_table_id" id="location_table_id" value="<?php echo $val->id; ?>"/>
<input type="text" class="form-control" name="p_location" id="p_locationupdate" value="<?php echo $val->name; ?>"  onkeypress="return alphaOnly(event)">
							</br>
	                        <input type="submit" name="update_location" id="update_location" value="Update Location" class="submit-section" />
	<?php }?>
															</form>
  
                                                         </div>
                                                         
                                                     </div>
                                                </div>
                                        	</li>
                                        </ul>
                                    </div>
                            </div>
                        </div>
                    </div>
                    
                </div>
            </div>
        
        </div>
		<script src="<?php echo base_url();?>assets_front/js/bootstrap.min.js"></script>
<?php //$this->load->view('footer_front'); ?>