@php /** * Quick-add form partial for Kanban columns * * @var int $statusId - Status column ID * @var string|null $swimlaneKey - Swimlane identifier * @var bool $isEmpty - Whether column is empty * @var array|null $reopenState - Session flash data */ $isActive = !empty($reopenState) && $reopenState['status'] == $statusId && ($reopenState['swimlane'] ?? null) == ($swimlaneKey ?? null); $savedHeadline = $isActive ? ($reopenState['headline'] ?? '') : ''; $hasError = $isActive && !empty($reopenState['error']); @endphp
Add To-Do
@if ($hasError) @endif
Press Enter to save and close. Press Shift plus Enter to save and add another task. Press Escape to cancel.