@props(['audit']) @php $screenshots = $audit->screenshots; @endphp @if (auth()->user()->hasPermission('audit.edit')) {{-- Its own form: the audit form wraps most of this page, and a nested form would have its fields hoisted into the outer one. --}}
@csrf
@endif @if ($screenshots->isEmpty())

Belum ada tangkapan skrin bagi penilaian ini.

@else @endif
{{-- Delete forms live outside the card so they are never nested inside the audit form; the buttons above reach them by id. --}} @if (auth()->user()->hasPermission('audit.edit')) @foreach ($screenshots as $screenshot) @endforeach @endif