cutlet-recaptcha.blade.php 386 B

12345678
  1. <script src="https://www.google.com/recaptcha/api.js?explicit&hl={{ config('cutlet-recaptcha.language') }}" async defer></script>
  2. <div class="g-recaptcha {{ $hasError ? 'is-invalid' : '' }}" data-sitekey="{{ config('cutlet-recaptcha.site_key') }}"></div>
  3. @error('g-recaptcha-response')
  4. <span class="invalid-feedback" role="alert">
  5. <strong>{{ $message }}</strong>
  6. </span>
  7. @enderror