File: D:/HostingSpaces/stafa/stafa.nl/resources/views/site/organisms/forms/quotation.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 method="post" class="o-form o-form--flat-top" action="{{ route('quotation.process') }}">
@if( !\App::environment('production') ) {{debug($errors)}} @endif
{{ csrf_field() }}
{{-- To prevent to pass the variable to each form element individually we already name it here --}}
{{-- @php $formElementNoErrorArea = true @endphp--}}
<div class="o-form__container" data-ornament-type="filled">
<div class="o-form__body">
{{-- <ul hidden class="c-form-feedback js-error-area" data-feedback="@lang('site/quotation.feedbackMessage')"></ul>--}}
<div class="o-form__row">
@include('site.components.form.text', ['formElementCodeName' => 'company_name'])
</div>
<div class="o-form__row">
@include('site.components.form.text', ['formElementCodeName' => 'contact_name'])
</div>
<div class="o-form__row">
@include('site.components.form.email', ['formElementCodeName' => 'email'])
</div>
<div class="o-form__row">
@include('site.components.form.text', ['formElementCodeName' => 'phone'])
</div>
<div class="o-form__row">
@include('site.components.form.textarea', ['formElementCodeName' => 'form_message'])
</div>
<div class="o-form__submit">
@include('site.components.form.submit', [
'formElementValue' => __('site/form.send')
] )
</div>
</div>
</div>
</form>