{{ $task->is_sfi ? 'LEARN SWEDISH / SFI' : config('swedenstart.stages.'.$task->stage) }}

{{ $task->title }}

{{ $task->description }}

@csrf @method('PATCH')
@if(!$task->is_sfi && !($collaborator ?? false))@endif
@if(!($collaborator ?? false) && !$task->is_sfi && $task->task_date && $task->task_date->isPast())
@php($daysSince = (int)$task->task_date->diffInDays(today())){{ $daysSince }} {{ $daysSince === 1 ? 'day' : 'days' }} since your recorded date. This is not an estimate of remaining time.
@endif
@if($resources->has($task->resource_key))Official guidance ↗@endif
@if($task->previous_state && !($collaborator ?? false))
@csrf
@endif @if(!$task->is_sfi && !($collaborator ?? false) && $user->hasPremium())
Custom reminder
@csrf

Leave empty to remove. Email is sent only while Premium is active.

@endif