<?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="desiredForm" method="post" class="form-horizontal" enctype="multipart/form-data">
              <?php echo e(csrf_field()); ?>

                <input type="hidden" name="rel_id" value="<?php echo e(Session::get('userLoginInfo')['user_id']); ?>">
                <div class="row">
                  <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <div class="login-css">Candidate Desired Career</div>
                  </div>
              
                  <div class="form-group col-md-12">
                      <label for="cdc_industry"> Industry <span style="color: red">*</span></label>
                  </div>
                  <div class="form-group col-md-12 select-border" id="industryOther">
                      <select id="cdc_industry" name="cdc_industry" class="form-control select2 ind" >
                        <option value="">Select</option>
                        <?php
                          foreach ($industries as $value) {
                            echo '<option value="'.$value->indu_id.'"> '.$value->indu_title.'</option>';
                          }
                        ?>
                        <option value="0">Other</option>
                      </select><br><br>
                      <input type="text" class="form-control" name="other_cdc_industry" id="otherInd" style="display: none">
                  </div>
      
                  <div class="form-group col-md-12">
                      <label for="cdc_functional_area"> Functional Area <span style="color: red">*</span></label>
                  </div>
                  <div class="form-group col-md-12 select-border" id="functionalOther">
                      <select id="cdc_functional_area" name="cdc_functional_area" class="form-control select2" onchange="getRoles(this.value)">
                          <option value="">Select</option>
                          <?php
                            foreach ($functional_areas as $value) {
                              echo '<option value="'.$value->fun_id.'"> '.$value->fun_functional_area.'</option>';
                            }
                          ?>
                          <option value="0">Other</option>
                      </select><br><br>
                      <input type="text" class="form-control" name="other_cdc_functional_area" id="otherFun" style="display: none">
                  </div>

                  <div class="form-group col-md-12">
                      <label for="cdc_functional_area"> Role <span style="color: red">*</span></label>
                  </div>
                  <div class="form-group col-md-12 select-border" id="roleOther">
                      <select id="cdc_sub_functional_area" name="cdc_sub_functional_area" class="form-control select2 role" >
                        <option value="">Select</option>
                        <option value="0">Other</option>
                      </select><br><br>
                      <input type="text" class="form-control" name="other_roles" id="otherRole" style="display: none">
                  </div>

                  <div class="form-group col-sm-12">
                      <label>Job Type</label>
                  </div>
                  <div class="form-group col-sm-12">
                    <span style="margin-right:20px;"><input type="checkbox"  <?php if(null !==old('cdc_job_type') && in_array('1',old('cdc_job_type'))): ?> checked <?php endif; ?> style="width:20px; height:20px;" name="cdc_job_type[]" value="1" checked> Permanent </span>
                    <span style="margin-right:20px;"><input type="checkbox"  <?php if(null !==old('cdc_job_type') && in_array('2',old('cdc_job_type'))): ?> checked <?php endif; ?> style="width:20px; height:20px;" name="cdc_job_type[]" value="2"> Contractual </span>
                  </div>

                  <div class="form-group col-sm-12">
                      <label>Employment Type</label>
                  </div>
                  <div class="form-group col-sm-12">
                    <span style="margin-right:20px;"><input type="checkbox"  <?php if(null !==old('cdc_employment_type') && in_array('1',old('cdc_employment_type'))): ?> checked <?php endif; ?> style="width:20px; height:20px;" name="cdc_employment_type[]" value="1" checked> Full Time </span>
                    <span style="margin-right:20px;"><input type="checkbox"  <?php if(null !==old('cdc_employment_type') && in_array('2',old('cdc_employment_type'))): ?> checked <?php endif; ?> style="width:20px; height:20px;" name="cdc_employment_type[]" value="2"> Part Time </span>
                  </div>

                  <div class="form-group col-sm-12">
                      <label>Preferred Shift</label>
                  </div>
                  <div class="form-group col-sm-12">
                    <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="cdc_preferred_shift" value="1"   <?php if(old('cdc_preferred_shift')=='1'): ?> checked <?php endif; ?> checked> Day </span>
                    <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="cdc_preferred_shift" value="2"   <?php if(old('cdc_preferred_shift')=='2'): ?> checked <?php endif; ?> > Night </span>
                    <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="cdc_preferred_shift" value="3"   <?php if(old('cdc_preferred_shift')=='3'): ?> checked <?php endif; ?> > Flexible </span>
                  </div>

                  <div class="form-group col-sm-12">
                      <label for="cdc_available_to_join_year"> Available To Join </label>
                  </div> 
                  <div class="form-group col-sm-6">
                      <input type="text" class="form-control year" id="cdc_available_to_join_year" name="cdc_available_to_join_year" value="<?php echo e(old('cdc_available_to_join_year')); ?>" placeholder="Year">
                  </div>
                  <div class="form-group col-sm-6">
                      <input type="text" class="form-control month" id="cdc_available_to_join_month" name="cdc_available_to_join_month" value="<?php echo e(old('cdc_available_to_join_month')); ?>" placeholder="Month">
                  </div>
         
                  <div class="form-group col-sm-12">
                      <label>Join Immediately</label>
                      <span style="margin-right:20px;"><input type="checkbox"  <?php if(null !==old('cdc_join_immediately') && in_array('1',old('cdc_join_immediately'))): ?> checked <?php endif; ?> style="width:20px; height:20px;" name="cdc_join_immediately" value="1"> Join Immediately </span>
                  </div>

                  <div class="form-group col-sm-12">
                      <label>Expected Salary In Currency</label>
                  </div>
                  <div class="form-group col-sm-12">
                    <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="cdc_expected_salary_currency" value="1"   <?php if(old('cdc_expected_salary_currency')=='1'): ?> checked <?php endif; ?> checked> Indian Rupees </span>
                    <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="cdc_expected_salary_currency" value="2"   <?php if(old('cdc_expected_salary_currency')=='2'): ?> checked <?php endif; ?> > Us Dollers </span>
                  </div>

                  <div class="form-group col-sm-12">
                      <label for="cdc_current_salary_lac"> Current Salary </label>
                  </div> 
                  <div class="form-group col-sm-6">
                      <input type="number" class="form-control" id="cdc_current_salary_lac" name="cdc_current_salary_lac" value="<?php echo e(old('cdc_current_salary_lac')); ?>" placeholder="In Lacs">
                  </div>
                  <div class="form-group col-sm-6">
                      <input type="number" class="form-control" id="cdc_current_salary_thousands" name="cdc_current_salary_thousands" value="<?php echo e(old('cdc_current_salary_thousands')); ?>" placeholder="In Thousands">
                  </div>

                  <div class="form-group col-sm-12">
                      <label for="cdc_expected_salary_lac"> Expected Salary </label>
                  </div> 
                  <div class="form-group col-sm-6">
                      <input type="number" class="form-control" id="cdc_expected_salary_lac" name="cdc_expected_salary_lac" value="<?php echo e(old('cdc_expected_salary_lac')); ?>" placeholder="In Lacs">
                  </div>
                  <div class="form-group col-sm-6">
                      <input type="number" class="form-control" id="cdc_expected_salary_thousands" name="cdc_expected_salary_thousands" value="<?php echo e(old('cdc_expected_salary_thousands')); ?>" placeholder="In Thousands">
                  </div>

                  <div class="form-group col-md-12">
                      <label for="cdc_desired_location"> Desired Location </label>
                  </div>
                  <div class="form-group col-md-12 select-border">
                      <select id="cdc_desired_location" name="cdc_desired_location[]" class="form-control select2" multiple="multiple">
                        <?php
                          foreach ($cities as $value) {
                            echo '<option value="'.$value->id.'"> '.$value->name.'</option>';
                          }
                        ?>
                      </select>
                  </div>

                  <div class="text-center MT30">
                      <button type="button" class="btn btn-info desiredSubmit">Submit</button>
                  </div>
                </div>
            </form>
          </div>
        </div>
    </div>
</section>
<script type="text/javascript" src="<?php echo e(url('/')); ?>/accets/frontend/js/candidate_desired.js"></script>   
 	
<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.frontmaster', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>