@props(['action', 'method' => 'POST']) {{-- Formulario con CSRF, método simulado y estado "busy" (Alpine) que desactiva el botón para evitar envíos dobles. Un x-data propio debe incluir "busy". --}}
merge(['x-data' => '{ busy: false }']) }}> @if (strtoupper($method) !== 'GET') @csrf @endif @if (! in_array(strtoupper($method), ['GET', 'POST'], true)) @method($method) @endif {{ $slot }}