Skip to content

Commit

Permalink
✨ Move form captcha outside foreach
Browse files Browse the repository at this point in the history
  • Loading branch information
tgeorgel committed Oct 21, 2024
1 parent 64c2ed8 commit 5c565bb
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions resources/views/livewire/contact-form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,18 @@
@default
{{-- Nothing. --}}
@endswitch

<div wire:ignore>
<altcha-widget
challengeurl="/altcha-challenge"
x-on:statechange="$event.detail.state === 'verified' ? (altcha = $event.detail.payload) : null"
floating
></altcha-widget>
</div>
</div>
@endforeach

<div class="col-span-full">
<div wire:ignore>
<altcha-widget
challengeurl="/altcha-challenge"
x-on:statechange="$event.detail.state === 'verified' ? (altcha = $event.detail.payload) : null"
floating
></altcha-widget>
</div>
</div>
</div>

<button
Expand Down

0 comments on commit 5c565bb

Please sign in to comment.