<?php $__env->startSection('content'); ?>
<style type="text/css">
  .schoolDiv{display: none;}
</style>

<section  class="inner-page-desh-pd candidate_dashbroad">
    <div class="container">
        <div class="row">  
            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 col-sm-12 P0">
    	          <form action="" id="educationForm" method="post" class="form-horizontal" enctype="multipart/form-data">
    		        <?php echo e(csrf_field()); ?>


                    <div class="row">
                        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                            <div class="login-css">Candidate Education</div>
                        </div>

                        <div class="form-group col-md-12">
                              <label class="">Education Type <span style="color:red">*</span></label>
                        </div>
                        <div class="form-group col-md-12 select-border"> 
                            <select id="edu_type" name="edu_type" class="form-control select2" onchange="getCourse(this.value)">
                                <option value="">Select Education</option>
                                <?php
                                  foreach ($education_types as $value) {?>
                                    <option value="<?php echo e($value->edt_id); ?>" <?php echo (old('edu_type')==$value->edt_id)?'selected':'';?>><?php echo e($value->edu_type); ?></option>
                                <?php  }?>
                            </select>
                        </div>
                        <div class="form-group col-md-12">
                            <label for="edu_course" class="courseTitle"> Course <span style="color: red">*</span></label>
                        </div>
                        <div class="form-group col-md-12 select-border" id="courseOther">
                            <select id="edu_course" name="edu_course" class="form-control select2">
                                <option value="">Select Course</option>
                            </select><br><br>
                            <input type="text" class="form-control" name="other_course" id="otherCor" style="display: none">
                        </div>
                        <div class="specializationDiv">
                          <div class="form-group col-md-12">
                              <label for="edu_specialization"> Specialization <span style="color: red">*</span></label>
                          </div>
                          <div class="form-group col-md-12 select-border" id="specialOther">
                              <select id="edu_specialization" name="edu_specialization" class="form-control select2">
                                  <option value="">Select Specialization</option>                
                              </select><br><br>
                              <input type="text" class="form-control" name="other_specialization" id="otherSpec" style="display: none">
                          </div>
                          <div class="form-group col-sm-12">
                              <label for="edu_university"> University <span style="color: red">*</span></label>
                          </div> 
                          <div class="form-group col-sm-12 select-border">
                              <select class="form-control select2" id="edu_university" name="edu_university">
                                <option value="">Select</option>
                                <?php $__currentLoopData = $university; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e($value->uid); ?>" <?php if(old('edu_university')==$value->uid){echo 'selected';}?>><?php echo e($value->uname); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                              </select>
                          </div>
                          <div class="form-group col-sm-12">
                              <label for="edu_institutes"> Colleges / Institutes </label>
                              <input type="text" class="form-control" id="edu_institutes" name="edu_institutes" value="<?php echo e(old('edu_institutes')); ?>">
                          </div> 
                          <div class="form-group col-sm-12">
                              <label>Course Type</label>
                          </div>
                          <div class="form-group col-sm-12">
                              <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="edu_course_type" value="1"   <?php if(old('edu_course_type')=='1'): ?> checked <?php endif; ?> checked> Full Time </span>
                              <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="edu_course_type" value="2"   <?php if(old('edu_course_type')=='2'): ?> checked <?php endif; ?> > Part Time </span>
                              <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="edu_course_type" value="3"   <?php if(old('edu_course_type')=='3'): ?> checked <?php endif; ?> > Correspondence / Distance Learning </span>
                          </div>
                          <div class="form-group col-sm-12 select-border">
                              <label for="edu_grade_system"> Grade System </label>
                          </div> 
                          <div class="form-group col-sm-12">
                              <select class="form-control" id="edu_grade_system" name="edu_grade_system">
                                  <option value="">Select Grade System</option>
                                  <option value='1' <?php if(old('edu_grade_system')=='1'){echo 'selected';}?>> Scale 10 Grading System</option>
                                  <option value='2' <?php if(old('edu_grade_system')=='2'){echo 'selected';}?>>Scale 4 Grading System</option>
                                  <option value='3' <?php if(old('edu_grade_system')=='3'){echo 'selected';}?>>% Marks of 100 Maximum</option>
                                  <option value='4' <?php if(old('edu_grade_system')=='4'){echo 'selected';}?>>Course Requires a Pass</option>
                              </select>
                          </div>
                        </div>
                        <div class="form-group col-sm-12 totalMarksDiv">
                            <label for="edu_marks"> Total Marks <span style="color: red">*</span></label>
                            <input type="text" class="form-control" id="edu_marks" name="edu_marks" value="<?php echo e(old('edu_marks')); ?>">
                        </div> 
                        <div class="form-group col-sm-12">
                            <label for="edu_passing_year"> Passing Year <span style="color: red">*</span></label>
                            <input type="text" class="form-control year" id="edu_passing_year" name="edu_passing_year" value="<?php echo e(old('edu_passing_year')); ?>">
                        </div> 
                        <div class="schoolDiv"> 
                          <div class="form-group col-sm-12">
                              <label for="edu_school_medium"> School Medium <span style="color: red">*</span></label>
                          </div> 
                          <div class="form-group col-sm-12 select-border">
                              <select class="form-control" id="edu_school_medium" name="edu_school_medium">
                                  <option value="">Select Medium</option>
                                <?php $__currentLoopData = $school_medium; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                  <option value="<?php echo e($val->sm_id); ?>"><?php echo e($val->sm_title); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                              </select>
                          </div>
                          <div class="form-group col-sm-12">
                              <label for="edu_eng_marks">English Marks </label>
                              <input type="text" class="form-control" id="edu_eng_marks" name="edu_eng_marks" value="<?php echo e(old('edu_eng_marks')); ?>">
                          </div> 
                          <div class="form-group col-sm-12">
                              <label for="edu_maths_marks">Maths Marks </label>
                              <input type="text" class="form-control" id="edu_maths_marks" name="edu_maths_marks" value="<?php echo e(old('edu_maths_marks')); ?>">
                          </div> 
                        </div>
                        <div class="form-group col-sm-12">
                            <label for="edu_skill"> Skills <span style="color: red">*</span></label>
                        </div>
                        <div class="form-group col-sm-12 select-border">
                            <select class="form-control select2" id="edu_skill" name="edu_skill[]" multiple>
                              <option value="">Select</option>
                              <?php $__currentLoopData = $skills; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                              <option value="<?php echo e($value->skills_id); ?>"><?php echo e($value->skills); ?></option>
                              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                        </div>
                    		<div class="text-center MT30">
                    				<input type="button" class="btn btn-default" name="submit" id="eduSubmit" value="submit">
                    		</div>
                    </div>
    	         </form>
            </div>
        </div>
    </div>
</section>
<script type="text/javascript" src="<?php echo e(url('/')); ?>/accets/frontend/js/candidate_education.js"></script>  
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.frontmaster', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>