@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'; $textAreaClass = 'dark:bg-dark-900 shadow-theme-xs focus:border-brand-300 focus:ring-brand-500/10 dark:focus:border-brand-800 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'; $item = $item ?? null; $savedTranslations = $item?->translations ?? collect(); $selectedCategories = old('categories', $item?->categoryCodes() ?? []); @endphp
{{ $message }}
@enderror{{ $message }}
@enderror{{ $message }}
@enderror{{ $message }}
@enderror{{ $message }}
@enderror{{ $message }}
@enderror{{ $message }}
@enderror{{ $message }}
@enderror{{ $message }}
@enderror{{ $message }}
@enderror{{ $message }}
@enderror{{ $message }}
@enderror{{ $message }}
@enderror @error('categories.*'){{ $message }}
@enderror{{ $message }}
@enderrorLeave as 0 to append at the end of the same session.
{{ $message }}
@enderrorPDF · max 15MB
Extra documents for this entry (e.g. bill papers, full written answer).
{{ basename($document->parliament_qa_document_file) }}@if ($document->created_at) · {{ $document->created_at->format('d M Y') }}@endif
PDF, Word, Excel or ZIP · max 15MB per file · up to 20 files at a time
@error('attachments'){{ $message }}
@enderror @error('attachments.*'){{ $message }}
@enderror