<div class="col-sm-12 gray">
    <h3 class="text-center">Update Work Experience</h3><hr>
    <div class="col-sm-12">
        <div class="row gray_ttc">
            <div class="col-sm-12 ">
                <div class="col-sm-12">
                    <form id="formID4" name="edit_work_experience" method="post" action="">
                        <div class="col-sm-12 ">
                            <div class="col-sm-12"><br> <br></div>
                            <div class="form-group col-sm-12">
                                <input type="hidden" name="person_id" id="person_id" value="<?php echo $work_value->person_id; ?>">
                                <div class="input-group">
                                    <input type="text" 
                                           class="form-control text-input" 
                                           placeholder="Please Type Company Name"
                                           name="company_name"
                                           id="company_name"
                                           value="<?php echo $work_value->company_name; ?>"
                                           aria-describedby="basic-addon1"
                                           data-errormessage-value-missing="Company Name is required!" >
                                    <span class="input-group-addon" id="basic-addon1"><i class="fa fa-briefcase"></i></span>
                                </div>
                                <span id="company_name_error" style="color:red"></span>
                            </div>
                            <div class="col-sm-12"><br> </div>
                            <div class="form-group col-sm-6">
                                <div class="input-group">
                                    <input type="text" 
                                           class="form-control text-input" 
                                           placeholder="Please Type Your Designation" 
                                           aria-describedby="basic-addon1"
                                           name="designation"
                                           id="designation"
                                           value="<?php echo $work_value->designation; ?>"
                                           data-errormessage-value-missing="Designation is required!" >
                                    <span class="input-group-addon" id="basic-addon1"><i class="fa fa-user"></i></span>
                                </div>
                                <span id="designation_error" style="color:red"></span>
                            </div>
                            <div class="form-group col-sm-6">
                                <div class="input-group">
                                    <input type="text" 
                                           class="form-control text-input" 
                                           placeholder="Please Type Your Company Website URL" 
                                           name="company_website_url"
                                           id="company_website_url"
                                           value="<?php echo $work_value->company_website_url; ?>"
                                           aria-describedby="basic-addon1"
                                           data-errormessage-value-missing="Company Website URL is required!" >
                                    <span class="input-group-addon" id="basic-addon1"><i class="fa fa-link"></i></span>
                                </div>
                                <span id="company_website_url_error" style="color:red"></span>
                            </div>
                            <div class="col-sm-12"><br></div>

                            <div class="form-group col-sm-12">
                                <div class="form-group">
                                    <textarea name="company_address" id="company_address" 
                                              data-errormessage-value-missing="Company  Address is required!"
                                              class="form-control col-sm-4 text-input" 
                                              placeholder="Please Type Your Company  Address"><?php echo $work_value->company_address; ?></textarea>
                                    <span id="company_address_error" style="color: red;"></span>
                                </div>
                            </div>
                            <div class="col-sm-12"><br> </div>

                            <div class="form-group col-sm-12">
                                <div class="form-group">
                                    <textarea name="job_responsibility_details" id="job_responsibility_details" 
                                              data-errormessage-value-missing="Job Responsibility is required!"
                                              class="form-control col-sm-4 text-input" 
                                              placeholder="Please Type Your Job Responsibility"><?php echo $work_value->job_responsibility_details; ?></textarea>
                                    <span id="job_responsibility_details_error" style="color: red;"></span>
                                </div>
                            </div>
                            <div class="col-sm-12"><br> </div>
                            <div class="form-group col-sm-6">
                                <div class='input-group' id='datetimepicker5'>
                                    <input type='text' 
                                           data-errormessage-value-missing="Job Start Date is Required!" 
                                           class="form-control text-input"
                                           id="start_time_period"
                                           name="job_start_date"
                                           value="<?php echo $work_value->job_start_date; ?>"
                                           placeholder=" Start date"/>
                                    <span class="input-group-addon">
                                        <span class="glyphicon glyphicon-calendar"></span><br>
                                    </span>
                                </div>
                                <span id="job_start_date_error" style="color:red"></span>
                            </div>

                            <div class="form-group col-sm-6">
                                <label for="work_current_here" class="col-sm-6">Work Currently Here  :  &nbsp;&nbsp;</label>
                                <div class="radio radio-success col-sm-6 margin-zero" id="status">
                                    <input type="radio" 
                                           onclick="WorkStatus(this.value)" 
                                           name="work_currently_here" 
                                           id="yes" 
                                           value="1" >
                                    <label for="yes">Yes</label>
                                    <span style="margin-right: 30px"></span>
                                    <input type="radio" 
                                           onclick="WorkStatus(this.value)" 
                                           name="work_currently_here" 
                                           id="no" 
                                           value="2">
                                    <label for="no">No</label>
                                </div>
                                <input type="hidden" id="hidden_work_currently_here" value="<?php echo $work_value->work_currently_here; ?>">
                                <input type="hidden" id="hidden_person_work_view_status" value="<?php echo $work_value->person_work_view_status; ?>">
                            </div>
                            <div class="col-sm-12"><br> </div>
                            <div class="form-group col-sm-6" id="workEndDate" style="display: none">
                                <div class='input-group' id='datetimepicker6'>
                                    <input type='text' 
                                           data-errormessage-value-missing="Person Birth Date is Required!" 
                                           class="form-control text-input"
                                           id="end_time_period"
                                           name="job_end_date"
                                           value="<?php echo $work_value->job_start_date; ?>"
                                           placeholder="Finished date"/>
                                    <span class="input-group-addon">
                                        <span class="glyphicon glyphicon-calendar"></span><br>
                                    </span>
                                </div>
                                <span id="job_end_date_error" style="color:red"></span>
                            </div>
                            <div class="form-group col-sm-6">
                                <select class="form-control" 
                                        id="account_type" 
                                        name="person_work_view_status"
                                        data-errormessage-value-missing="Who can see my Education details is required!">
                                    <option value=""> -Who can see my Education details- </option>
                                    <option value="1">Public</option>
                                    <option value="2">Talha Training User</option>
                                    <option value="3">Link</option>
                                    <option value="6">Only Me</option>
                                </select>
                                <span id="person_work_view_status_error" style="color:red;"></span>
                            </div>
                            <div class="col-sm-12"><br><br></div>
                            <div class="form-group col-sm-4">
                                <input type="button" 
                                       class="green-btn btn btn-default" 
                                       value="Update Work Experience"
                                       onclick="return updateWorkExperiencs('<?php echo base_url() ?>super_admin_profile/update_work_experience/<?php echo $work_value->person_work_details_id; ?>','<?php echo $work_value->person_work_details_id; ?>')" >
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div> 
    </div>
</div>