@extends('layout.app') @section('contents')

Create a new media or edit the exiting one

@csrf

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

    My Previous 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

    We respect your privacy. We will Never sell, rent or share your email address

    @foreach($products as $key => $product) @endforeach @endsection