<? foreach ( $this -> tasks as $task ):?>
  <?
  echo \Tpl::view( 'tasks/task_single', [
    'task' => $task,
    'user' => $this -> user,
    'statuses' => $this -> statuses,
    'task_open' => $this -> open_task_id == $task['id'] ? true : false
  ] );
  ?>
<? endforeach;?>