@extends('layouts.frontend') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.product.title_singular') }}
id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf
@if($errors->has('category'))
{{ $errors->first('category') }}
@endif {{ trans('cruds.product.fields.category_helper') }}
@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('specification'))
{{ $errors->first('specification') }}
@endif {{ trans('cruds.product.fields.specification_helper') }}
@if($errors->has('price_range'))
{{ $errors->first('price_range') }}
@endif {{ trans('cruds.product.fields.price_range_helper') }}
@if($errors->has('stock'))
{{ $errors->first('stock') }}
@endif {{ trans('cruds.product.fields.stock_helper') }}
@foreach(App\Models\Product::IS_PREORDER_RADIO as $key => $label)
is_preorder) === (string) $key ? 'checked' : '' }} required>
@endforeach @if($errors->has('is_preorder'))
{{ $errors->first('is_preorder') }}
@endif {{ trans('cruds.product.fields.is_preorder_helper') }}
@if($errors->has('preorder_day'))
{{ $errors->first('preorder_day') }}
@endif {{ trans('cruds.product.fields.preorder_day_helper') }}
@if($errors->has('status'))
{{ $errors->first('status') }}
@endif {{ trans('cruds.product.fields.status_helper') }}
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if($errors->has('resources'))
{{ $errors->first('resources') }}
@endif {{ trans('cruds.product.fields.resource_helper') }}
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if($errors->has('tags'))
{{ $errors->first('tags') }}
@endif {{ trans('cruds.product.fields.tag_helper') }}
@endsection @section('scripts') @endsection