@extends('layouts.app')

@section('title', 'Edit Listing')

@section('content')
    <div class="nk-block-head nk-block-head-sm">
        <div class="nk-block-between">
            <div class="nk-block-head-content">
                <h3 class="nk-block-title page-title">Edit Listing</h3>
                <p class="text-soft">Update the details about the vehicle</p>
            </div>
            <div class="nk-block-head-content">
                <a href="{{ route('admin.listings.show', $listing->uuid) }}" class="btn btn-outline-light">
                    <em class="icon ni ni-arrow-left"></em>
                    <span>Back to Listing</span>
                </a>
            </div>
        </div>
    </div>

    <div class="nk-block">
        @include('admin.listings.partial.form')
    </div>
@endsection

