@if ( config('settings.security.captcha') == 'recaptcha' && config('recaptcha.site_key') && config('recaptcha.secret_key') ) @if (config('recaptcha.version') == 'v2') {{-- recaptcha --}} @if (isAdminPanel())
{!! recaptchaHtmlFormSnippet() !!}
@if ($errors->has('g-recaptcha-response'))
{{ $errors->first('g-recaptcha-response') }}
@endif
@else @if (isset($colLeft) && isset($colRight))
{!! recaptchaHtmlFormSnippet() !!}
@else @if (isset($label) && $label == true)
{!! recaptchaHtmlFormSnippet() !!}
@elseif (isset($noLabel) && $noLabel == true)
{!! recaptchaHtmlFormSnippet() !!}
@else
{!! recaptchaHtmlFormSnippet() !!}
@endif @endif @endif @else @endif @endif @section('recaptcha_head') @if ( config('settings.security.captcha') == 'recaptcha' && config('recaptcha.site_key') && config('recaptcha.secret_key') ) @if (config('recaptcha.version') == 'v3') {!! recaptchaApiV3JsScriptTag([ 'action' => request()->path(), 'custom_validation' => 'myCustomValidation' ]) !!} @else {!! recaptchaApiJsScriptTag() !!} @endif @endif @endsection