{{-- Google reCAPTCHA v2 "I'm not a robot" box. Put it inside a form, above the submit button. It draws nothing when the keys are not set in .env, and FormRequest (App\Http\Requests\LeadRequest) checks the token on the server. resources/js/app.js stops a submit with the box unticked, so a Career form never loses its CV to a round trip. --}} @php($recaptcha = app(\App\Services\Recaptcha::class)) @if ($recaptcha->enabled())
only('class') }} data-recaptcha> {{-- The widget is a fixed 304px wide, so it shrinks a little on the narrowest phones. --}}
{{-- Without JavaScript Google's fallback shows the challenge in a frame and the visitor pastes the code. --}}

! $errors->has('g-recaptcha-response')])>{{ $errors->first('g-recaptcha-response') }}

@once @push('scripts') @endpush @endonce @endif