@csrf
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('description'))
{{ $errors->first('description') }}
@endif
@if ($errors->has('rating'))
{{ $errors->first('rating') }}
@endif
@if ($errors->has('image'))
{{ $errors->first('image') }}
@endif
Only *.png, *.jpg and *.jpeg image files are accepted