Post a Meme
@csrf
Avatar
{{ $errors->first('img') }}
Or
@if(Session::has('message'))
{{ Session::get('message') }}
@endif
Title
{{ $errors->first('title') }}
Select Category
@foreach($categories as $cat)
{{$cat->name}}
@endforeach
Submit
@foreach($memes as $row)
@if($row->file_description == 'upload from pc')
@elseif($row->file_description == 'from URL')
@endif
{{$row->title}}
@foreach($row->categories as $c)
{{$c->category->name}},
@endforeach
@endforeach