{{ __('Todo List') }}

@csrf
@error('title')
{{ $message }}
@enderror

Not Completed ({{ $todos->count() }})

Completed Today ({{ $todos->where('completed_at', '>=', \Carbon\Carbon::today())->count() }})

@foreach ($todos as $todo) @if ($todo->completed_at)
@csrf @method('PUT')
{{ $todo->title }}
@endif @endforeach