formCsrf() ?> formHidden('task_id', $values) ?> formHidden('opposite_task_id', $values) ?> formLabel(t('Label'), 'link_id') ?> formSelect('link_id', $labels, $values, $errors) ?> formLabel(t('Task'), 'title') ?> formText( 'title', $values, $errors, array('required', 'data-dst-field="opposite_task_id"', 'data-search-url="'.$this->u('app', 'autocomplete', array('exclude_task_id' => $task['id'])).'"'), 'task-autocomplete') ?>
a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>