From 62827e6cf470449c117624058fb36ad94804bcc0 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 5 May 2020 14:25:42 +0200 Subject: Time tracking related plugins --- plugins/Timetrackingeditor/Template/start.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 plugins/Timetrackingeditor/Template/start.php (limited to 'plugins/Timetrackingeditor/Template/start.php') diff --git a/plugins/Timetrackingeditor/Template/start.php b/plugins/Timetrackingeditor/Template/start.php new file mode 100644 index 00000000..cc67febd --- /dev/null +++ b/plugins/Timetrackingeditor/Template/start.php @@ -0,0 +1,23 @@ + +
+ + form->csrf() ?> + + form->hidden('project_id', $values) ?> + form->hidden('task_id', $values) ?> + form->hidden('subtask_id', $values) ?> + + + + + form->label(t('Comment'), 'comment') ?> + form->textarea('comment', $values, $errors, array(), 'markdown-editor') ?> + + form->checkbox('is_billable', t('Billable?'), 1, isset($values['is_billable']) && $values['is_billable'] == 1) ?> + +
+ modal->submitButtons() ?> +
+
-- cgit v1.2.3