summaryrefslogtreecommitdiff
path: root/templates/task_edit.php
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-03-05 22:27:48 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-03-05 22:27:48 -0500
commit544f9924241f9b2caaf83ead203161ea41e5f1cf (patch)
treedcb5ba8a202fee673e395184795f570fd7c905ae /templates/task_edit.php
parent1e994f34486da72662ff39f1c3e130e4480e30ab (diff)
Add a 'due date' field and display the number of comments on the board
Diffstat (limited to 'templates/task_edit.php')
-rw-r--r--templates/task_edit.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/task_edit.php b/templates/task_edit.php
index e400e790..eca4537a 100644
--- a/templates/task_edit.php
+++ b/templates/task_edit.php
@@ -23,6 +23,9 @@
<?= Helper\form_label(t('Story Points'), 'score') ?>
<?= Helper\form_number('score', $values, $errors) ?><br/>
+ <?= Helper\form_label(t('Due Date'), 'date_due') ?>
+ <?= Helper\form_text('date_due', $values, $errors, array('placeholder="'.t('month/day/year').'"'), 'form-date') ?><br/>
+
<?= Helper\form_label(t('Description'), 'description') ?>
<?= Helper\form_textarea('description', $values, $errors) ?><br/>
<div class="form-help"><a href="http://en.wikipedia.org/wiki/Markdown#Example" target="_blank"><?= t('Write your text in Markdown') ?></a></div>