{!! app(\App\Services\HtmlSanitizerService::class)->sanitize(old('description_html', $event->description_html ?? '')) !!}
@error('description_html')
{{ $message }}
@enderror
{{-- Catering/Zeitnehmer-Zuweisungen (nicht für away_game/meeting) --}}
{{-- Bereits angehängte Dateien --}}
@if ($event->files->isNotEmpty())
{{ __('admin.attached_files') }}
@foreach ($event->files as $file)
@endforeach
@endif
{{-- Aus Bibliothek anhängen --}}
@php $attachedIds = $event->files->pluck('id')->toArray(); @endphp
@foreach ($fileCategories as $cat)
@if ($cat->files->isNotEmpty())
{{ $cat->name }}
@foreach ($cat->files as $file)
@if (!in_array($file->id, $attachedIds))
@endif
@endforeach
@endif
@endforeach
{{-- Neue Datei hochladen --}}