From 401b0bdfb10ebfe75c9a392de52d37cc3c22c062 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 19 Jul 2015 18:14:20 -0400 Subject: Split task controller into smaller classes --- app/Template/task_modification/edit_time.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/Template/task_modification/edit_time.php (limited to 'app/Template/task_modification/edit_time.php') diff --git a/app/Template/task_modification/edit_time.php b/app/Template/task_modification/edit_time.php new file mode 100644 index 00000000..8e7f9b42 --- /dev/null +++ b/app/Template/task_modification/edit_time.php @@ -0,0 +1,20 @@ +
+ + + url->link('', 'taskmodification', 'start', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'task-show-start-link', t('Set automatically the start date')) ?> + + + form->csrf() ?> + form->hidden('id', $values) ?> + + form->label(t('Start date'), 'date_started') ?> + form->text('date_started', $values, array(), array('placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-datetime') ?> + + form->label(t('Time estimated'), 'time_estimated') ?> + form->numeric('time_estimated', $values, array(), array('placeholder="'.t('hours').'"')) ?> + + form->label(t('Time spent'), 'time_spent') ?> + form->numeric('time_spent', $values, array(), array('placeholder="'.t('hours').'"')) ?> + + +
\ No newline at end of file -- cgit v1.2.3