File: D:/HostingSpaces/SBogers10/beat-the-barn.komma.nl/resources/views/organisms/forms/vacancy.blade.php
{{-- NOTE: This form will be send through ajax by the ChocolateFactory.js to prevent spam, the real post route is 'contact/process'. --}}
<form class="o-form js-chocolate-factory" method="post" action="quotation/send" id="quotationForm">
@if( !\App::environment('production') ) {{debug($errors)}} @endif
@include('components.form.honey')
{{ csrf_field() }}
{{-- <div class="o-form__header">--}}
{{-- <h3 class="o-form__title">Solliciteren</h3>--}}
{{-- </div>--}}
{{-- To prevent to pass the variable to each form element individually we already name it here --}}
{{-- @php $formGroupNoErrorArea = true @endphp--}}
@if(!isset($send))
<div class="o-form__body">
<div class="o-form__row o-form__row--split">
<div class="o-form__column">
@include('components.form.text', ['formGroupCodeName' => 'first_name'])
</div>
<div class="o-form__column">
@include('components.form.text', ['formGroupCodeName' => 'last_name'])
</div>
</div>
<div class="o-form__row">
@include('components.form.email', ['formGroupCodeName' => 'email'])
</div>
<div class="o-form__row">
<div class="o-form__row">
@include('components.form.text', ['formGroupCodeName' => 'phone'])
</div>
</div>
<div class="o-form__row">
@include('components.form.textarea', ['formGroupCodeName' => 'motivation'])
</div>
</div>
<div class="o-form__footer">
{{-- NOTE: We don't use a button to prevent bots from clicking on it --}}
@include('components.button', [
'buttonTagName' => 'div',
'buttonText' => __('form.send'),
'buttonClasses' => 'js-golden-ticket'
])
</div>
@else
<h2 class="u-spacing-mt8">@lang('contact.send.title')</h2>
<p>@lang('contact.send.description')</p><br>
@endif
</form>