I have a list of projects, where I can click on and it (needs to) show the project name, and the list of the projects\' tasks (ToDo application)
But when I click on a ce
Try count($project->tasks)==0
h2>{{{ $project->name }}}
@if ( count($project->tasks)==0)
There are no tasks for this project.
@else
@foreach( $project->tasks as $task)
- {{ $task->name }}
@endforeach
@endif