<?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="itSkillsForm" 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 Project</div>
                    </div>
              
                    <div class="form-group col-sm-12">
                        <label for="project_title"> Title <span style="color: red">*</span></label>
                        <input type="text" class="form-control" id="project_title" name="project_title" value="<?php echo e(old('project_title')); ?>">
                    </div>
                      
                    <div class="form-group col-sm-12">
                        <label for="project_client"> Client <span style="color: red">*</span></label>
                        <input type="text" class="form-control" id="project_client" name="project_client" value="<?php echo e(old('project_client')); ?>">
                    </div>
                     
                    <div class="form-group col-sm-12">
                        <label>Project Status</label>
                    </div>
                    <div class="form-group col-sm-12">
                        <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="project_status" value="1"   <?php if(old('project_status')=='1'): ?> checked <?php endif; ?> checked onclick="checkRadio()"> In Progress </span>
                        <span style="margin-right:20px;" onclick="checkRadio()"><input type="radio" style="width:20px; height:20px;" name="project_status" value="2"   <?php if(old('project_status')=='2'): ?> checked <?php endif; ?> > Finished </span>
                    </div>

                    <div class="form-group col-sm-12">
                        <label for="project_work_from_year"> Working From <span style="color: red">*</span></label>
                    </div> 
                    <div class="form-group col-sm-6">
                        <input type="text" class="form-control year" id="project_work_from_year" name="project_work_from_year" value="<?php echo e(old('project_work_from_year')); ?>" placeholder="Year">
                    </div>
                    <div class="form-group col-sm-6">
                        <input type="text" class="form-control month" id="project_work_from_month" name="project_work_from_month" value="<?php echo e(old('project_work_from_month')); ?>" placeholder="Month">
                    </div>

                    <div class="form-group col-sm-12" >
                      <label for="project_work_till_year"> Working Till <span style="color: red">*</span></label>
                    </div> 
                    <div class="form-group col-sm-12" id="pdiv">
                      <input type="text" class="form-control" id="project_work_till" name="project_work_till" value="Present" readonly style="background-color: #fff;">
                    </div>
                    <div id="radioDiv" style="display: none;">
                      <div class="form-group col-sm-6">
                        <input type="text" class="form-control year" id="project_work_till_year" name="project_work_till_year" value="<?php echo e(old('project_work_till_year')); ?>" placeholder="Year">
                      </div>
                      <div class="form-group col-sm-6">
                        <input type="text" class="form-control month" id="project_work_till_month" name="project_work_till_month" value="<?php echo e(old('project_work_till_month')); ?>" placeholder="Month">
                      </div>
                    </div>

                    <div class="form-group col-sm-12">
                        <label for="project_details"> Details <span style="color: red">*</span></label>
                        <textarea class="form-control" id="project_details" name="project_details" minlength="100"><?php echo e(old('project_details')); ?></textarea>
                    </div> 

                    <div class="form-group col-sm-12">
                        <label for="project_location"> Location </label>
                        <input type="text" class="form-control" id="project_location" name="project_location" value="<?php echo e(old('project_location')); ?>">
                    </div> 

                    <div class="form-group col-sm-12">
                         <label>Project Site</label>
                    </div>
                    <div class="form-group col-sm-12">
                        <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="project_site" value="0"   <?php if(old('project_site')=='0'): ?> checked <?php endif; ?> checked> Off Site </span>
                        <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="project_site" value="1"   <?php if(old('project_site')=='1'): ?> checked <?php endif; ?> > On Site </span>
                    </div>

                    <div class="form-group col-sm-12">
                      <label>Nature Of Employee</label>
                    </div>
                    <div class="form-group col-sm-12">
                        <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="project_emp_nature" value="1"   <?php if(old(',2,project_emp_nature')=='1'): ?> checked <?php endif; ?> checked> Full Time </span>
                        <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="project_emp_nature" value="2"   <?php if(old('project_emp_nature')=='2'): ?> checked <?php endif; ?> > Part Time </span>
                        <span style="margin-right:20px;"><input type="radio" style="width:20px; height:20px;" name="project_emp_nature" value="3"   <?php if(old('project_emp_nature')=='3'): ?> checked <?php endif; ?> > Contractual </span>
                    </div>

                    <div class="form-group col-sm-12">
                        <label for="project_team_size"> Team Size </label>
                        <input type="number" class="form-control" id="project_team_size" name="project_team_size" value="<?php echo e(old('project_team_size')); ?>">
                    </div>
    
                    <div class="form-group col-md-12">
                        <label for="project_role"> Role </label>
                    </div>
                    <div class="form-group col-md-12 select-border" id="roleOther">
                        <select id="project_role" name="project_role" class="form-control select2">
                          <option value="">Select</option>
                          <?php
                            foreach ($project_roles as $value) {
                              echo '<option value="'.$value->pr_id.'"> '.$value->role.'</option>';
                            }
                          ?>
                          <option value="0">Other</option>
                        </select><br><br>
                        <input type="text" class="form-control" name="other_project_role" id="otherRole" style="display: none">
                    </div>

                    <div class="form-group col-sm-12">
                        <label for="project_role_description"> Role Description </label>
                        <textarea class="form-control" id="project_role_description" name="project_role_description" minlength="100"><?php echo e(old('project_role_description')); ?></textarea>
                    </div> 

                    <div class="form-group col-sm-12">
                      <label for="project_skill_used"> Skill Used </label>
                    </div> 
                    <div class="form-group col-sm-12 select-border">
                      <select class="form-control select2" id="project_skill_used" name="project_skill_used" multiple>
                        <?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">
                      <button type="button" class="btn btn-info " id="projectsSubmit">Submit</button>
                    </div>
                </div>
            </form>
         </div>
      </div>
    </div>
</section>
<script type="text/javascript" src="<?php echo e(url('/')); ?>/accets/frontend/js/candidate_project.js"></script>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('frontend.frontmaster', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>