e($subtask['title']) ?> a(trim($this->render('subtask/icons', array('subtask' => $subtask))) . $this->e($subtask['status_name']), 'subtask', 'toggleStatus', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])) ?> render('subtask/icons', array('subtask' => $subtask)) . $this->e($subtask['status_name']) ?> e($subtask['name'] ?: $subtask['username']) ?> e($subtask['time_spent']).'h' ?> e($subtask['time_estimated']).'h' ?>
  • a(t('Edit'), 'subtask', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])) ?>
  • a(t('Remove'), 'subtask', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])) ?>
formCsrf() ?> formHidden('task_id', array('task_id' => $task['id'])) ?> formText('title', array(), array(), array('required', 'placeholder="'.t('Type here to create a new sub-task').'"')) ?>