{{-- Contact form, landing page layout. Posts to /enquiry (App\Http\Controllers\ContactController), which validates, saves the enquiry and emails the Site settings recipients. Name is sent as first_name and split into first/last name on the server (App\Contact::processContact). reCAPTCHA v3: the script in front/partials/recaptcha.blade.php adds the token to any form containing a .g-recaptcha element when it is submitted. --}} @php $formId = 'contact-form-' . ($item->id ?? 'main'); $sent = session()->has('success'); @endphp
@if($sent)

Thank you

Your message has been sent. We'll be in touch soon.

@endif @if($errors->any()) @endif
{{ csrf_field() }}

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

@if($sent || $errors->any()) {{-- After sending, the page reloads at the top: bring the visitor back to the form's message. --}} @endif