@php $firstPatch = false; @endphp
    @forelse ($patches as $patch)
  • {{ $patch['message'] }}
    Released: {{ $patch['date'] }} - for v{{ $patch['required'] }}
    @if (is_array($applied) && !in_array($patch['id'], $applied) && !$firstPatch) @php $firstPatch = true; @endphp
    @csrf
    @else @endif
  • @empty
  • @lang('common.noRecordsFund')
  • @endforelse