{{-- Session resources (handouts) — manage panel for the session's trainers / Admin. Needs: $session (with resources loaded or loadable). --}} @php $resources = $session->resources; $inSeries = $session->recurrence_group_id && \App\Models\TrainingSession::where('recurrence_group_id', $session->recurrence_group_id)->where('session_date', '>', $session->session_date)->exists(); @endphp
folder_open

Resources

{{ $resources->count() }} {{ \Illuminate\Support\Str::plural('file', $resources->count()) }}

Handouts for this session — everyone booked on can download them from their session page, ready for the day.

@if($resources->isEmpty())

No resources yet.

@else @endif
@csrf @if($inSeries) @endif
@error('resources')

{{ $message }}

@enderror @error('resources.*')

{{ $message }}

@enderror