{!! $event->title !!}

{!! $event->content !!}
@if($event->status === 'closed')
Registration for this event has closed.
@elseif($event->status === 'full')
This workshop is currently full.
@elseif($event->status === 'private')
This is a private event. Please contact the organiser for details.
@elseif($event->status === 'scheduled')
Registration for this workshop will open soon.
@elseif($event->status === 'cancelled')
This workshop has been cancelled.
@elseif($event->registration === 'none')
Registration not required for this event. Arrive early to avoid disappointment as seating maybe limited.
@elseif($event->registration === 'link') Register for Event @elseif($event->registration === 'email')
Registration for this event by emailing {{ $event->registration_data }}.
@elseif($event->registration === 'message')
{{ $event->registration_data }}
@endif @if(auth()->user()?->admin) Edit Workshop @endif

Date/Time

{!! implode('
', \App\Helpers::createTimeDurationStr($event->starts_at, $event->ends_at)) !!}

Location

{{ isset($event->ages) && $event->ages !== '' ? 'Ages ' . $event->ages : 'All ages' }}

@if(\App\Helpers::isUnderAge($event->ages))

Parental supervision may be required for children 8 years of age and under.

@endif

{{ isset($event->price) && $event->price !== '' && $event->price !== '0' ? $event->price : 'Free' }}

{{-- @if(isset($event->price) && $event->price !== '' && $event->price !== '0' && strtolower($event->price) !== 'free')--}} {{--

Payment by cash or EFTPOS accepted. Please ensure correct change.

--}} {{-- @endif--}}