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