@php $inputClass = 'dark:bg-dark-900 shadow-theme-xs focus:border-brand-300 focus:ring-brand-500/10 dark:focus:border-brand-800 h-11 w-full rounded-lg border bg-transparent px-4 py-2.5 text-sm text-gray-800 placeholder:text-gray-400 focus:ring-3 focus:outline-hidden dark:bg-gray-900 dark:text-white/90 dark:placeholder:text-white/30'; $selectClass = 'dark:bg-dark-900 shadow-theme-xs focus:border-brand-300 focus:ring-brand-500/10 dark:focus:border-brand-800 h-11 w-full appearance-none rounded-lg border bg-transparent px-4 py-2.5 text-sm text-gray-800 focus:ring-3 focus:outline-hidden dark:bg-gray-900 dark:text-white/90'; $labelClass = 'mb-1.5 block text-sm font-medium text-gray-700 dark:text-gray-400'; $errorClass = 'border-error-300 focus:border-error-300 focus:ring-error-500/10 dark:border-error-700'; $normalClass = 'border-gray-300 dark:border-gray-700'; $dateClass = 'dark:bg-dark-900 shadow-theme-xs focus:border-brand-300 focus:ring-brand-500/10 dark:focus:border-brand-800 h-11 w-full appearance-none rounded-lg border bg-transparent bg-none px-4 py-2.5 pr-11 text-sm text-gray-800 placeholder:text-gray-400 focus:ring-3 focus:outline-hidden dark:bg-gray-900 dark:text-white/90 dark:placeholder:text-white/30'; $timeClass = 'dark:bg-dark-900 shadow-theme-xs focus:border-brand-300 focus:ring-brand-500/10 dark:focus:border-brand-800 h-11 w-full appearance-none rounded-lg border bg-transparent bg-none px-4 py-2.5 pr-16 text-sm text-gray-800 placeholder:text-gray-400 focus:ring-3 focus:outline-hidden dark:bg-gray-900 dark:text-white/90 dark:placeholder:text-white/30'; $groupLabel = 'mb-3 text-theme-xs font-semibold tracking-wider text-gray-400 uppercase dark:text-gray-500'; @endphp {{-- ================= Speech information ================= --}}

Speech Information

{{-- Baris 1: Title (penuh) --}}
@error('speech_title')

{{ $message }}

@enderror
{{-- Baris 2: Language · Speaker Category · Speaker Name · Position --}}
@include('backend.module.contentSpeech.partials._select', [ 'name' => 'speech_language', 'label' => 'Language', 'options' => $languages, 'selected' => old('speech_language', $speech->speech_language ?? ''), 'placeholder' => '-- Select Language --', 'firstWhenEmpty' => true, ])
@include('backend.module.contentSpeech.partials._select', [ 'name' => 'speech_speaker_category', 'label' => 'Speaker Category', 'options' => $speakers, 'selected' => old('speech_speaker_category', $speech->speech_speaker_category ?? ''), 'placeholder' => '-- Select Speaker --', 'required' => true, ])
@error('speech_position')

{{ $message }}

@enderror
{{-- Baris 3: Speech Date · Category · Status · Sort Order --}}
@include('backend.module.contentSpeech.partials._date-input', [ 'name' => 'speech_date', 'value' => old('speech_date', isset($speech) && $speech->speech_date ? $speech->speech_date->format('Y-m-d') : ''), ]) @error('speech_date')

{{ $message }}

@enderror
@include('backend.module.contentSpeech.partials._select', [ 'name' => 'speech_category', 'label' => 'Category', 'options' => $categories, 'selected' => old('speech_category', $speech->speech_category ?? ''), 'placeholder' => '-- Select Category --', 'required' => true, ])
@include('backend.module.contentSpeech.partials._select', [ 'name' => 'speech_status', 'label' => 'Status', 'options' => $statuses, 'selected' => old('speech_status', $speech->speech_status ?? ''), 'placeholder' => '-- Select Status --', 'required' => true, 'firstWhenEmpty' => true, ])
@error('speech_sorting')

{{ $message }}

@enderror
{{-- Baris 4: Event · Location --}}
{{-- Baris 5: Tetingkap publish (Publish Start Date/Time · Publish End Date/Time) --}}
@include('backend.module.contentSpeech.partials._date-input', [ 'name' => 'speech_start_date', 'value' => old('speech_start_date', $speech->speech_start_date ?? ''), ])
@include('backend.module.contentSpeech.partials._time-input', [ 'name' => 'speech_start_time', 'value' => old('speech_start_time', $speech->speech_start_time ?? ''), ])
@include('backend.module.contentSpeech.partials._date-input', [ 'name' => 'speech_end_date', 'value' => old('speech_end_date', $speech->speech_end_date ?? ''), ]) @error('speech_end_date')

{{ $message }}

@enderror
@include('backend.module.contentSpeech.partials._time-input', [ 'name' => 'speech_end_time', 'value' => old('speech_end_time', $speech->speech_end_time ?? ''), ])
{{-- Baris 6: Cover Image (penuh) — pratonton + crop 1240 × 1754 px (peta cropSizes dalam resources/js/filepond-image-cropper.js) --}}
Cover Image Optional
@if (! empty($speech->speech_img)) @endif
@error('speech_img')

{{ $message }}

@enderror

Cover · 1240 × 1754 px recommended · JPG, PNG or WebP · max 15MB

{{-- Baris 7: Speech Document (penuh) --}}
Speech Document Required to publish
@if (! empty($speech->speech_file)) @endif
@error('speech_file')

{{ $message }}

@enderror

PDF, Word or PowerPoint · max 150MB