@extends('layouts.dashboard') @section('title', 'Proj Mgr - Add Task List') @section('content')
Back to Project

Add Task List

{{ $project->name }}
@csrf

Create New Task List

Organize your project tasks with custom task lists

@php $templates = $taskListTemplates ?? collect(); @endphp @if($templates->count() > 0)
Use a Template (optional — auto-fills the form and creates tasks)
@foreach($templates as $tpl) @php $tplTasks = $tpl->tasks ?? []; @endphp @endforeach

Tasks to be created ()

@endif
@error('name')

{{ $message }}

@enderror
@error('description')

{{ $message }}

@enderror
@php $colorOptions = [ ['value' => 'bg-blue-100', 'label' => 'Blue'], ['value' => 'bg-green-100', 'label' => 'Green'], ['value' => 'bg-yellow-100', 'label' => 'Yellow'], ['value' => 'bg-red-100', 'label' => 'Red'], ['value' => 'bg-purple-100', 'label' => 'Purple'], ['value' => 'bg-indigo-100', 'label' => 'Indigo'], ['value' => 'bg-pink-100', 'label' => 'Pink'], ['value' => 'bg-gray-100', 'label' => 'Gray'], ]; @endphp @foreach($colorOptions as $color) @endforeach

Preview

Task List Name

0 tasks
Tasks will appear here
@push('scripts') @endpush @endsection