From 86928e37bced3d99f5cc2f449fb458c2344fd317 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 7 Oct 2014 11:27:46 -0400 Subject: Add comment creation form to the task summary page (pull-request #300) --- app/Templates/comment_create.php | 8 +++++--- app/Templates/task_comments.php | 12 ++++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/Templates/comment_create.php b/app/Templates/comment_create.php index 71a4f044..11772f75 100644 --- a/app/Templates/comment_create.php +++ b/app/Templates/comment_create.php @@ -6,12 +6,14 @@ -
+
- - + + + +
diff --git a/app/Templates/task_comments.php b/app/Templates/task_comments.php index acd84952..12deff98 100644 --- a/app/Templates/task_comments.php +++ b/app/Templates/task_comments.php @@ -11,5 +11,17 @@ 'not_editable' => isset($not_editable) && $not_editable, )) ?> + + + true, + 'values' => array( + 'user_id' => Helper\get_user_id(), + 'task_id' => $task['id'], + ), + 'errors' => array(), + 'task' => $task + )) ?> + \ No newline at end of file -- cgit v1.2.3