{{-- Shared by add view and edit view. --}} @csrf
exists) required @endunless> @error('image')
{{ $message }}
@enderror
{{ collect(config('xrt.uploads.mimes'))->map(fn ($m) => strtoupper($m))->join(', ') }} up to {{ number_format(config('xrt.uploads.max_kilobytes') / 1024, 0) }} MB. @if ($view->exists) Leave empty to keep the current image; the existing file is only removed once the new one is stored. @endif
{{ $view->exists ? 'Current image' : 'Selected image' }}
{{ $view->exists ? $view->label() : '' }}
@if ($view->exists){{ $view->image_width }} × {{ $view->image_height }} px @endif
Cancel
@push('scripts') @endpush