@extends('layouts.admin') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.product.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('name')) {{ $errors->first('name') }} @endif {{ trans('cruds.product.fields.name_helper') }}
@if($errors->has('description')) {{ $errors->first('description') }} @endif {{ trans('cruds.product.fields.description_helper') }}
@if($errors->has('price')) {{ $errors->first('price') }} @endif {{ trans('cruds.product.fields.price_helper') }}
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if($errors->has('categories')) {{ $errors->first('categories') }} @endif {{ trans('cruds.product.fields.category_helper') }}
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if($errors->has('tags')) {{ $errors->first('tags') }} @endif {{ trans('cruds.product.fields.tag_helper') }}
@if($errors->has('photo')) {{ $errors->first('photo') }} @endif {{ trans('cruds.product.fields.photo_helper') }}
@endsection @section('scripts') @endsection