@php $formId = $formId ?? null; $action = $action ?? 'submit'; $recaptchaEnabled = setting('recaptcha.enabled') == 'on' && setting('recaptcha.api_site_key'); @endphp @if ($recaptchaEnabled) @if (!empty($formId)) @if ($errors->has('recaptcha'))

{{ $errors->first('recaptcha') }}

@endif @endif @push('ch_header') @php if (!defined('CH_RECAPTCHA_SCRIPT_INCLUDED')) { define('CH_RECAPTCHA_SCRIPT_INCLUDED', true); @endphp @php } @endphp @endpush @push('ch_footer') @php if (!defined('CH_RECAPTCHA_BINDER_INCLUDED')) { define('CH_RECAPTCHA_BINDER_INCLUDED', true); @endphp @php } @endphp @if (!empty($formId)) @endif @endpush @endif