@foreach ($rujukan as $data)
    <div class="modal fade" id="hapusModal_{{ $data->id_rujukan }}" tabindex="-1"
        aria-labelledby="hapusModalLabel_{{ $data->id_rujukan }}" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title font-bold" id="hapusModalLabel_{{ $data->id_rujukan }}">HAPUS DATA TINDAK LANJUT RUJUKAN SISWA
                    </h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <form method="post" action="{{ route('tindak-lanjut.rujukan-spesialis.destroy', $data->id_rujukan) }}"
                        enctype="multipart/form-data" class="mt-6 space-y-6">
                        @csrf
                        @method('delete')

                        <p>Anda yakin ingin menghapus data {{ $data->siswa->nama_siswa }} dari data tindak lanjut rujukan Siswa ?</p>
                        <div class="modal-footer">
                            <x-secondary-button tag="a" data-bs-dismiss="modal">Batal</x-secondary-button>
                            <x-primary-button value="true">Hapus</x-primary-button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
@endforeach
