<input type="hidden" id="baseurl" value="<?php echo base_url(); ?>" >
<div class="row">
    <div class="col-md-6 margin-bottom-30">
        <div class="hs_heading medium">
            <h3>update Chef Team Member</h3>
        </div>
		  <form id="updatechef" enctype="multipart/form-data">
        <div class="hs_input">
            <label>Name</label>
            <input type="text" class="form-control" placeholder="Name" name="chef_name" id="chef_name_id" value="<?php if(!empty($chefmember)){ echo $chefmember[0]->chef_name; } ?>">
        </div>
		<div class="hs_input">
            <label>Facebook link</label>
            <input type="text" class="form-control" name="chef_facebook_link" id="chef_facebook_link" value="<?php if(!empty($chefmember)){ echo $chefmember[0]->chef_facebook; } ?>">
        </div>
        <div class="hs_input">
            <label>Youtube link</label>
            <input type="text" class="form-control"  name="chef_youtube_link" id="chef_youtube_link" value="<?php if(!empty($chefmember)){ echo $chefmember[0]->chef_youtube; } ?>">
        </div>
		<div class="hs_input">
            <label>Twitter link</label>
            <input type="text" class="form-control"  name="chef_twitter_link" id="chef_twitter_link" value="<?php if(!empty($chefmember)){ echo $chefmember[0]->chef_twitter; } ?>">
        </div>
		<div class="hs_input">
            <label>Linkedin link</label>
            <input type="text" class="form-control" name="chef_linkedin_link" id="chef_linkedin_link" value="<?php if(!empty($chefmember)){ echo $chefmember[0]->chef_linkedin; } ?>">
        </div>
          <div class="hs_input">
            <label>Dasignation</label>
            <input type="text" class="form-control" placeholder="Dasignation" name="chef_desig" id="chef_desig_id" value="<?php if(!empty($chefmember)){ echo $chefmember[0]->chef_desig; } ?>">
        </div>
		<div class="hs_input">
            <label for="exampleInputFile">Chef Image</label>
            <input type="file" name="chef_image" id="chef_image_id" class="form-control">
            
        </div>
		<input type="hidden" name="old_chef_id" value="<?php if(!empty($chefmember)){ echo $chefmember[0]->chef_id; } ?>" >
        <button type="submit" class="btn">Update</button>
		</form>
    </div>
</div>
