{!! $workshop->title !!}

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

Date/Time

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

Location

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

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

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

@endif

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