@props([ 'item' => null, 'route' => null, 'wide' => false, ]) @can('update', $item) @if ($item->deleted_at!='') {{-- Pull-right on the form matches the delete button's alignment, so swapping delete↔restore between live and soft-deleted views keeps the destructive-action slot in the same spot in the info-panel. --}}
@csrf
@endif @endcan