{{ $event->title }}

@if(session('status'))
{{ session('status') }}
@endif
{{ $event->status }} 📅 {{ $event->event_date->format('d/m/Y') }} @if($event->event_time) — {{ $event->event_time }} @endif

{{ $event->description }}

@if($event->rules)

RÈGLES

{{ $event->rules }}

@endif @if($event->reward)

RÉCOMPENSE

{{ $event->reward }}

@endif @auth @if($event->participants->where('user_id', auth()->id())->isNotEmpty()) DÉJÀ INSCRIT @else
@csrf
@endif @else Connecte-toi pour participer @endauth

PARTICIPANTS ({{ $event->participants->count() }})

@forelse ($event->participants as $participant)
{{ $participant->user->name }} {{ $participant->status }}
@empty

Aucun participant pour l'instant.

@endforelse