@extends('layouts.frontend') @section('content')
{{ trans('global.create') }} {{ trans('cruds.product.title_singular') }}
@method('POST') @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') }}
--}} {{--
or
@if($errors->has('disc'))
{{ $errors->first('disc') }}
@endif {{ trans('cruds.product.fields.price_helper') }}
--}} {{--
{{ trans('global.select_all') }} {{ trans('global.deselect_all') }}
@if($errors->has('branches'))
{{ $errors->first('branches') }}
@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