@extends('layouts.admin', [
'title' => 'Reports'
])
@section('content')
@forelse ($reports as $report)
Reporter:
Type:
Category:
{{ $report->category }}
Comment:
{!! (!empty($report->comment)) ? nl2br(e($report->comment)) : '
This report does not have a comment.
' !!}
@if (!$report->url())
Content:
{{ $report->content->body }}
@endif
@empty
There are currently no pending reports.
@endforelse
{{ $reports->onEachSide(1) }}
@endsection