Update listing

@csrf @method('PUT') {{-- ========== UPLOAD PHOTO ========== --}}

Upload Photo

{{-- Existing Images Grid --}} @if($existingImages->count())
@foreach($existingImages as $img)
car image {{-- Cover badge --}} @if($img['is_cover']) Cover @else @endif {{-- Set as cover --}} {{-- Delete existing --}}
@endforeach
@endif {{-- Hidden fields for delete / cover tracking --}}
{{-- New image drop zone --}}
Add more photos
or drag photos here
(Up to 10 photos)
{{-- ========== CAR DETAILS ========== --}}

Car details

{{-- VIN — readonly in edit --}}
{{-- Models loaded via JS after page load --}}
{{--
--}} {{-- --}} {{-- --}} {{-- --}} {{--
--}}
{{-- ========== FEATURES ========== --}}

Safety features

@foreach(['entertainment','safety','interior','exterior','technology'] as $cat)
{{ ucfirst($cat) }}
@foreach($features[$cat] as $feature)
id, $selectedFeatures) ? 'checked' : '' }}>
@endforeach
@endforeach
{{-- ========== PRICE ========== --}}

Car price

$
{{-- --}}
{{-- ========== LOCATION ========== --}}

Location

{{-- ========== VIDEO ========== --}}

Video

Listing with video gets 6 times higher exposure to buyers.

{{-- ========== DOCUMENTS ========== --}}

Attachments

{{-- Existing documents --}} @if($existingDocs->count())
@foreach($existingDocs as $doc)
{{ $doc['ext'] }}
{{ $doc['name'] }}
@endforeach
@endif {{-- Hidden inputs for doc deletes --}}
{{-- New doc upload --}}
{{-- ========== SUBMIT ========== --}}