@extends('layouts.app') @section('title', 'Memory') @section('heading', 'Memory') @section('subtitle', 'Predictions made in the news, checked later — and how reliable each outlet has been') @section('content')
All @foreach(['open' => 'Open', 'came_true' => 'Came true', 'did_not' => 'Did not', 'unclear' => 'Unclear'] as $k => $v){{ $v }}@endforeach

Predictions

@forelse($predictions as $p)
{{ $p->outlet?->name }} · check on {{ $p->check_on?->format('d M Y') }} @if($p->check_on && $p->check_on->isPast() && $p->outcome === 'open')due@endif

“{{ $p->statement }}”

@if($p->article){{ $p->article->title }}@endif
@csrf @method('PATCH') @foreach(['came_true' => 'Came true', 'did_not' => 'Did not', 'unclear' => 'Unclear', 'open' => 'Open'] as $k => $v) @endforeach
@empty

No predictions recorded yet.

@endforelse {{ $predictions->links() }}

Outlet reliability

@foreach($reliability as $r) {{ $r['outlet']->name }} · {{ $r['outlet']->reliability }}/100 · {{ $r['true'] }}/{{ $r['checked'] }} checked came true
@endforeach
@endsection