@extends('app::layouts.app') @section('title', 'Edit Listing') @section('content')
@include('panel::partials.sidebar', ['activeMenu' => 'listings'])

Edit Listing

Update the core listing details without leaving the frontend panel.

@if (session('success'))
{{ session('success') }}
@endif
@csrf @method('PUT')
Manage videos

Photos

@forelse($listing->getMedia('listing-images') as $media) {{ $listing->title }} @empty
No photos on this listing.
@endforelse

Listing info

Category
{{ $listing->category?->name ?? '-' }}
Status
{{ $listing->statusLabel() }}
Videos
{{ $listing->videos->count() }}

Custom fields

@forelse($customFieldValues as $field)

{{ $field['label'] }}

{{ $field['value'] }}

@empty

No category-specific fields stored on this listing.

@endforelse
@endsection