@if (
config('settings.security.recaptcha_activation')
and config('recaptcha.site_key')
and config('recaptcha.secret_key')
)
@if (config('recaptcha.version') == 'v2')
@if (isFromAdminPanel())
@else
@if (isset($colLeft) and isset($colRight))
@else
@if (isset($label) and $label == true)
@elseif (isset($noLabel) and $noLabel == true)
@else
@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