<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 Language
$(function(){
  $("#p_languageupdate").autocomplete({
    source: "<?php echo base_url();?>front_end/get_work_language_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 Language</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_language_form()"  action="<?php echo base_url();?>front_end/edit_can_language"><?php 
foreach($query as $val)
{
$sle_query=mysql_query("select * from  candidate_language where language_id='".$val->language_id."'");
$fetch_data_len=mysql_fetch_array($sle_query);
?>
<input type="hidden" name="language_table_id" id="language_table_id" value="<?php echo $val->language_id; ?>"/>
<input type="text" style="width: 255px;" class="form-control" name="p_language" id="p_languageupdate" value="<?php echo $val->language_name; ?>"  onkeypress="return alphaOnly(event)">
							</br>
			<div class="checkbox" style="width: 152%;margin-left: -21px;">
                                                    <label><input <?php if($fetch_data_len['type']==1){?> checked="checked" <?php }?>   type="radio" name="type" id="type" value="1" >Basic</label>
                                                    <label><input type="radio" <?php if($fetch_data_len['type']==2){?> checked="checked" <?php }?>  name="type" id="type" value="2">Intermediate</label>
                                                    <label><input type="radio" <?php if($fetch_data_len['type']==3){?> checked="checked" <?php }?>  name="type" id="type" value="3">Fluent</label>
                                                  </div></br>
	                        <input type="submit" name="update_location" id="Update Language" value="Update Language" 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'); ?>