@csrf

Add Media

Kindly use the form below to add a new Media

@if(count($errors)>0) @foreach($errors->all() as $error)
{{$error}}
@endforeach @endif @if(session('failure'))
{{session('failure')}}
@endif @if(session('success'))
{{session('success')}}
@endif

    Media

    @foreach($products as $key=> $product) @if($product->status == 0) @elseif($product->status ==1) @else @endif @endforeach
    Media Name Media Title Category Section Status Uploaded By actions
    {{$product->media->name}} {{$product->media->title}} {{$product->category->category}} {{$product->section->section}}PendingAcceptedRejected{{Auth::user()->name}}
    @if($product->status == 1) @endif @if($product->status == 0) @endif