@push('title') Update Product @endpush @if (session('success')) {{ env('APP_NAME') }} Alerts {{ session('success') }} @endif @if (session('info')) {{ env('APP_NAME') }} Alerts {{ session('info') }} @endif @if (session('warning')) {{ env('APP_NAME') }} Alerts {{ session('warning') }} @endif @if (session('danger')) {{ env('APP_NAME') }} Alerts {{ session('danger') }} @endif @if ($errors->any()) {{ env('APP_NAME') }} Validation Errors @if ($errors->count() == 1) {{ $errors->first() }} @else @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @endif Update Product @csrf @method('PUT') Name * Slug * Category * Select Category @foreach ($categories as $category) category_id == $category->id )>{{ $category->name }} @endforeach Version Base URL Icon Description {{ $product->description }} Status * status == \App\Models\Category::ACTIVE ? 'selected' : '' }}>Active status == \App\Models\Category::INACTIVE ? 'selected' : '' }}>Inactive