From 364382b1b58db8bf1bd2c8866e21c869a7a5d6d0 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 13 Feb 2015 17:50:20 -0500 Subject: Add task links (Merge pull-request #610) --- app/Template/tasklink/edit.php | 53 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 app/Template/tasklink/edit.php (limited to 'app/Template/tasklink/edit.php') diff --git a/app/Template/tasklink/edit.php b/app/Template/tasklink/edit.php new file mode 100644 index 00000000..e1fcded2 --- /dev/null +++ b/app/Template/tasklink/edit.php @@ -0,0 +1,53 @@ + + + +
+ + formCsrf() ?> + + + formHidden('id', $values) ?> + formHidden('task_link_inverse_id', $values) ?> + + formHidden('task_id', $values) ?> + + # +   + formSelect('link_label_id', $link_list, $values, $errors, 'required autofocus') ?> +   + #formNumeric('task_inverse_id', $values, $errors, array('required', 'placeholder="'.t('Task id').'"', 'title="'.t('Linked task id').'"', 'list="task_inverse_ids"')) ?> + + + + + +
+ + + formCheckbox('another_link', t('Create another link'), 1, isset($values['another_link']) && $values['another_link'] == 1) ?> + + +
+ + + a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> +
+
+ +
+ + +
+ -- cgit v1.2.3