@php $s = $session ?? null; $modeLabels = ['presentiel' => 'Présentiel', 'visio' => 'Visio', 'blended' => 'Mixte (blended)', 'elearning' => 'E-learning']; $statusLabels = ['planifiee' => 'Planifiée', 'ouverte' => 'Inscriptions ouvertes', 'complete' => 'Complète', 'terminee' => 'Terminée', 'annulee' => 'Annulée']; @endphp @if ($errors->any())