@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@php $existing_ids = $flavour->fcategories()->pluck('category_id')->toArray(); @endphp
@if ($errors->has('category_id.*')) {{ $errors->first('category_id.*') }} @endif
@if ($flavour->image_url)
Current Image
@endif