@extends('layouts.app') @section('title', 'Edit Product - BakeryChrips') @section('content')
Back to Products

Edit Product: {{ $product->name }}

@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
@endif
@csrf @method('PUT')
@if($product->image && file_exists(public_path($product->image))) {{ $product->name }} @else Default @endif

Format: JPG, PNG, GIF. Max: 2MB. Biarkan kosong jika tidak ingin mengganti gambar.

Cancel
@endsection