{{ session('status') }}
@endif
@if ($errors->any())
{{ $errors->first() }}
@endif
Class: {{ $session->displayTitle() }}
Type: {{ $session->delivery_method?->label() }}
@if ($session->delivery_method?->value === 'one_to_one')Student: {{ $session->student?->full_name ?: '1-to-1' }}
@endifStatus: {{ $session->status?->label() }}
Time: {{ $session->starts_at?->timezone('Africa/Accra')->format('g:i A') }} – {{ $session->ends_at?->timezone('Africa/Accra')->format('g:i A') }}
@if ($session->status?->isEnded())This class has ended. Students can no longer join this session.
@elseStart Class is available from the scheduled start time. End Class is available from the scheduled end time. Use Extend if the class needs more time. Students cannot start or end a class.
@include('teacher.live.actions', [
'session' => $session,
'canJoin' => $canJoin,
'canEnd' => $canEnd,
'canExtend' => $canExtend ?? false,
'startBlockedReason' => $startBlockedReason ?? null,
'endBlockedReason' => $endBlockedReason ?? null,
'size' => 'btn-md',
])
@endif