HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
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>