{{ __('Edit event') }}

{{ __('Update the event details. Changes are visible immediately on the public event page. Use "View event" to preview. You can also adjust the background colour or generate a new embed code for your website.') }}
@csrf @method('PATCH') {{-- Cover image --}}

{{ __('Recommended: 1200 × 628 px. Max 10 MB.') }}

@if ($event->cover_image)
@else @endif
{{-- Title --}}
{{-- Tagline --}}
{{-- Event type + modality --}}
@php $eventTypes = [ 'fun_activity' => __('Fun activity'), 'online_meeting' => __('Online meeting'), 'peer_support' => __('Peer support'), 'lecture' => __('Lecture / Talk'), 'workshop' => __('Workshop'), 'walk' => __('Walk / Hike'), 'game_night' => __('Game night'), 'creative' => __('Creative / Arts'), 'food_drinks' => __('Food & drinks'), 'sport' => __('Sport & movement'), 'meet_greet' => __('Meet & greet'), ]; @endphp
{{-- Description (RTF) --}} @php $descVal = old('description', $event->description ?? ''); if ($descVal && !str_contains($descVal, '<')) $descVal = nl2br(e($descVal)); @endphp
@include('events._rtf-editor', ['fieldName' => 'description', 'initialContent' => $descVal, 'minHeight' => '8rem'])
{{-- What to expect (RTF) --}} @php $expectVal = old('what_to_expect', $event->what_to_expect ?? ''); if ($expectVal && !str_contains($expectVal, '<')) $expectVal = nl2br(e($expectVal)); @endphp
@include('events._rtf-editor', ['fieldName' => 'what_to_expect', 'initialContent' => $expectVal, 'minHeight' => '10rem'])
{{-- Location name --}}
{{-- Address autocomplete --}} @include('events._address-autocomplete', ['initialValue' => old('address', $event->address ?? '')]) {{-- Online URL --}}
{{-- Start / end --}}
{{-- Contact info --}}
{{-- Group --}} @if ($myGroups->isNotEmpty())
@endif {{-- Event label (PRO only) --}} @if(auth()->user()->is_pro && ($labels ?? collect())->isNotEmpty())

{{ __('Use labels to apply discount codes to groups of events.') }}

@endif {{-- Registration --}}
registration_required) ? 'checked' : '' }} class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500">
@php $platformFee = config('services.ticketing.service_fee', 1.50); $canTicket = Auth::user()->is_pro || $event->registration_price; @endphp
{{-- Branding / achtergrond --}}

{{ __('Page background') }}

@once('eyedrop-script') @endonce

{{ __('This background is shown on the public event page and can be used to embed the page in your website.') }}

{{-- Sensorisch profiel --}}

🧠 {{ __('ND profile') }}

{{-- ND-friendly badge --}}
nd_friendly) ? 'checked' : '' }} class="mt-0.5 h-5 w-5 rounded border-gray-300 text-green-600 focus:ring-green-500">
{{-- Sensory options --}} @php $sensoryOptions = [ 'sensory_noise' => ['label'=>__('Noise level'),'icon'=>'🔊','options'=>['quiet'=>__('Quiet'),'moderate'=>__('Moderate'),'loud'=>__('Loud')]], 'sensory_lighting' => ['label'=>__('Lighting'),'icon'=>'💡','options'=>['dim'=>__('Dim'),'normal'=>__('Normal'),'bright'=>__('Bright')]], 'sensory_crowd' => ['label'=>__('Expected crowd'),'icon'=>'👥','options'=>['small'=>__('Small (< 20)'),'medium'=>__('Medium (20–100)'),'large'=>__('Large (> 100)')]], 'communication_style' => ['label'=>__('Communication style'),'icon'=>'💬','options'=>['verbal'=>__('Verbal'),'written'=>__('Written'),'mixed'=>__('Mixed'),'open'=>__('Open / flexible')]], 'social_pressure' => ['label'=>__('Social pressure'),'icon'=>'🤝','options'=>['low'=>__('Low — come & go freely'),'medium'=>__('Medium'),'high'=>__('High — active participation')]], ]; @endphp @foreach ($sensoryOptions as $field => $cfg)

{{ $cfg['icon'] }} {{ $cfg['label'] }}

@foreach ($cfg['options'] as $value => $label) @endforeach
@endforeach
quiet_space) ? 'checked' : '' }} class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500">
{{-- Private toggle --}}
is_private) ? 'checked' : '' }} class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500">
@push('bottom-bar-buttons') {{ __('Cancel') }} {{ __('View event') }} @endpush