|
|
|
@ -6,6 +6,9 @@ |
|
|
|
|
<meta name="og:image" content="{{url('frontend/images/am-chef-banner.png')}}"/> |
|
|
|
|
@endsection |
|
|
|
|
@section('content') |
|
|
|
|
@php |
|
|
|
|
$msg = Session::get('msg') ?? null; |
|
|
|
|
@endphp |
|
|
|
|
<section class="need-chef-banner" style="background: url('frontend/images/am-chef-banner.png')"> |
|
|
|
|
<nav aria-label="breadcrumb"> |
|
|
|
|
<ol class="breadcrumb"> |
|
|
|
@ -50,7 +53,7 @@ |
|
|
|
|
<form action="{{route('recruitment.apply')}}" method = "post" enctype="multipart/form-data"> |
|
|
|
|
@csrf |
|
|
|
|
@include('errors.error') |
|
|
|
|
@include('success.success') |
|
|
|
|
|
|
|
|
|
<h2>Please fill-up the form</h2> |
|
|
|
|
<div class="mb-3"> |
|
|
|
|
<label for="">Full name</label> |
|
|
|
@ -367,7 +370,18 @@ |
|
|
|
|
</section> |
|
|
|
|
|
|
|
|
|
@section('script') |
|
|
|
|
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script> |
|
|
|
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script> |
|
|
|
|
<script> |
|
|
|
|
|
|
|
|
|
var php_var = "<?php echo $msg; ?>";
|
|
|
|
|
if(php_var.length !== 0){ |
|
|
|
|
Swal.fire({ |
|
|
|
|
title: 'Submitted!!', |
|
|
|
|
text: php_var, |
|
|
|
|
icon: 'success' |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
$('#refresh').click(function(event){ |
|
|
|
|
event.preventDefault(); |
|
|
|
|
$.ajax({ |
|
|
|
|