@foreach ([
1 => __('Basics'),
2 => __('When & where'),
3 => __('Content'),
4 => __('Registration'),
5 => __('ND profile'),
6 => __('Finish'),
] as $n => $label)
{{ $n }}. {{ $label }}
@endforeach
{{-- ══════════════════════════════════════════ --}}
{{-- Stap 1 — Basis --}}
{{-- ══════════════════════════════════════════ --}}
{{ __('1. Basics') }}
{{-- Kopieer-banner --}}
@if ($copy)
{{ __('Copied from') }}:
{{ $copy->title }}
@endif
{{-- Cover image --}}
{{ __('Recommended: 1200 × 628 px. Max 10 MB.') }}
@if ($copy?->cover_image)
{{ __('Upload a new image to replace the original.') }}
@else
@endif
{{-- Title --}}
{{-- Tagline --}}
{{-- Event type --}}
@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
{{ __('— select type —') }}
@foreach ($eventTypes as $value => $label)
event_type) === $value ? 'selected' : '' }}>{{ $label }}
@endforeach
{{-- ══════════════════════════════════════════ --}}
{{-- Stap 2 — Wanneer & Waar --}}
{{-- ══════════════════════════════════════════ --}}
{{ __('2. When & where') }}
{{-- Start / end --}}
{{-- Modality --}}
{{ __('— select —') }}
event_modality) === 'in_person' ? 'selected' : '' }}>{{ __('In person') }}
event_modality) === 'online' ? 'selected' : '' }}>{{ __('Online') }}
event_modality) === 'hybrid' ? 'selected' : '' }}>{{ __('Hybrid') }}
{{-- Location name --}}
{{-- Address autocomplete --}}
@include('events._address-autocomplete', ['initialValue' => old('address', $copy?->address ?? '')])
{{-- ══════════════════════════════════════════ --}}
{{-- Stap 3 — Inhoud --}}
{{-- ══════════════════════════════════════════ --}}
{{ __('3. Content') }}
@php
$descVal = old('description', $copy?->description ?? '');
$expectVal = old('what_to_expect', $copy?->what_to_expect ?? '');
if ($descVal && !str_contains($descVal, '<')) $descVal = nl2br(e($descVal));
if ($expectVal && !str_contains($expectVal, '<')) $expectVal = nl2br(e($expectVal));
@endphp
@include('events._rtf-editor', ['fieldName' => 'description', 'initialContent' => $descVal, 'minHeight' => '8rem'])
@include('events._rtf-editor', ['fieldName' => 'what_to_expect', 'initialContent' => $expectVal, 'minHeight' => '10rem'])
{{-- ══════════════════════════════════════════ --}}
{{-- Stap 4 — Inschrijving --}}
{{-- ══════════════════════════════════════════ --}}
{{ __('4. Registration') }}
registration_required) ? 'checked' : '' }}
class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500">
{{ __('Registration required') }}
@php $platformFee = config('services.ticketing.service_fee', 1.50); @endphp
@if(Auth::user()->is_pro)
@else
🔒 {{ __('Free events only — upgrade to PRO for paid ticketing') }}
@endif
@if(Auth::user()->is_pro)
{{ __('Platform default: €:fee', ['fee' => number_format($platformFee, 2, ',', '.')]) }}
{{ __('Ticket revenue is transferred to this account after the event.') }}
@endif
{{-- Quick discount code --}}
@if(Auth::user()->is_pro)
🏷 {{ __('Add a discount code (optional)') }}
{{ __('This code will be linked to this event. Attendees can enter it during registration.') }}
@endif
@if(Auth::user()->is_pro)
@endif
{{-- ══════════════════════════════════════════ --}}
{{-- Stap 5 — ND-profiel --}}
{{-- ══════════════════════════════════════════ --}}
{{ __('5. ND profile') }}
{{-- ND-friendly badge --}}
{{-- Sensory grid --}}
@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)
@endforeach
{{-- Quiet space --}}
quiet_space) ? 'checked' : '' }}
class="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500">
🔕 {{ __('Quiet space available') }}
{{ __('A calm area where participants can withdraw if needed.') }}
{{-- Sensory notes --}}
{{-- ══════════════════════════════════════════ --}}
{{-- Stap 6 — Afronden --}}
{{-- ══════════════════════════════════════════ --}}
{{ __('6. Finish') }}
{{-- Group --}}
@if ($myGroups->isNotEmpty())
{{ __('— no group —') }}
@foreach ($myGroups as $g)
id) == $g->id) ? 'selected' : '' }}>{{ $g->name }}
@endforeach
@endif
{{-- Event label (PRO only) --}}
@if(Auth::user()->is_pro && $labels->isNotEmpty())
{{ __('— no label —') }}
@foreach ($labels as $label)
coupon_label_id) == $label->id ? 'selected' : '' }}>{{ $label->name }}
@endforeach
{{ __('Use labels to apply discount codes to groups of events.') }}
@endif
{{-- Private --}}
{{ __('Private event') }}
{{ __('Only invited people can see this event.') }}
{{-- Profile picker --}}
{{-- Branding --}}