|
|
|
@ -36,37 +36,44 @@ |
|
|
|
|
</div> |
|
|
|
|
<div class="col-md-6"> |
|
|
|
|
<div class="chef-hire-form"> |
|
|
|
|
<form action=""> |
|
|
|
|
<form action="{{route('recruitment.vacancy')}}" method = "post"> |
|
|
|
|
@csrf |
|
|
|
|
<h2>Please fill-up the form</h2> |
|
|
|
|
<div class="mb-3"> |
|
|
|
|
<label for="">Full name</label> |
|
|
|
|
<input type="text" class="form-control" placeholder="Your full name" name="" id=""> |
|
|
|
|
<input type="text" class="form-control" placeholder="Your full name" name="full_name" id=""> |
|
|
|
|
</div> |
|
|
|
|
<div class="mb-3"> |
|
|
|
|
<label for="">Company</label> |
|
|
|
|
<input type="text" class="form-control" placeholder="Your company name" name="" id=""> |
|
|
|
|
<input type="text" class="form-control" placeholder="Your company name" name="company" id=""> |
|
|
|
|
</div> |
|
|
|
|
<div class="mb-3"> |
|
|
|
|
<label for="">Email address</label> |
|
|
|
|
<input type="email" class="form-control" placeholder="Your email address" name="" id=""> |
|
|
|
|
<input type="email" class="form-control" placeholder="Your email address" name="email" id=""> |
|
|
|
|
</div> |
|
|
|
|
<div class="mb-3"> |
|
|
|
|
<label for="">No. of position</label> |
|
|
|
|
<input type="text" class="form-control" placeholder="Required number of position" name="" id=""> |
|
|
|
|
<input type="text" class="form-control" placeholder="Required number of position" name="no_of_position" id=""> |
|
|
|
|
</div> |
|
|
|
|
<div class="mb-3"> |
|
|
|
|
<label for="">Enquiry</label> |
|
|
|
|
<textarea type="text" rows="3" class="form-control" placeholder="Your enquiries.." name="" id=""></textarea> |
|
|
|
|
<textarea type="text" rows="3" class="form-control" placeholder="Your enquiries.." name="enquiry" id=""></textarea> |
|
|
|
|
</div> |
|
|
|
|
@php |
|
|
|
|
$code = Str::random(5); |
|
|
|
|
@endphp |
|
|
|
|
<div class="mb-5"> |
|
|
|
|
<label for="">Enter Captcha</label> |
|
|
|
|
<div class="d-flex gap-3"> |
|
|
|
|
<div class="captcha-sec"> |
|
|
|
|
<input type="text" name="" class="form-control" placeholder="Captcha" id=""> |
|
|
|
|
<input id="captcha" type="text" name = "entered_captcha_code" class="form-control" placeholder="Enter Captcha as Shown" required> |
|
|
|
|
<input type = "hidden" id = "displayed_captcha_code" name = "displayed_captcha_code" value = "{{$code}}"/> |
|
|
|
|
</div> |
|
|
|
|
<div class="captch-field"> |
|
|
|
|
<p>g46x0</p> |
|
|
|
|
<img src="{{url('frontend/icons/reset-icon.svg')}}" alt=""> |
|
|
|
|
<!-- name = "captcha_code" value = "{{$code}}" --> |
|
|
|
|
<input type = "text" id = "captcha_code" readonly class="form-control" name = "captcha_code" value = "{{$code}}"/> |
|
|
|
|
<!-- <img src="{{url('frontend/icons/reset-icon.svg')}}" alt=""> --> |
|
|
|
|
<button id = "refresh"><i class="fas fa-sync-alt"></i></button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -76,4 +83,24 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</section> |
|
|
|
|
|
|
|
|
|
@section('script') |
|
|
|
|
<script> |
|
|
|
|
$('#refresh').click(function(event){ |
|
|
|
|
event.preventDefault(); |
|
|
|
|
$.ajax({ |
|
|
|
|
type:'GET', |
|
|
|
|
url:'refreshcaptcha', |
|
|
|
|
success:function(data){ |
|
|
|
|
document.getElementById('captcha_code').readOnly |
|
|
|
|
= false; |
|
|
|
|
document.getElementById('captcha_code').value = (data.captcha_code); |
|
|
|
|
document.getElementById('displayed_captcha_code').value = (data.captcha_code); |
|
|
|
|
document.getElementById('captcha_code').readOnly |
|
|
|
|
= true; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
</script> |
|
|
|
|
@endsection |
|
|
|
|
@endsection |