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