From 7d458cd5004d026dec0c41bbb1daacb259a52cfb Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 12 Oct 2015 17:49:30 -0400 Subject: Add CSV import for tasks --- app/Template/task_import/step1.php | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 app/Template/task_import/step1.php (limited to 'app/Template/task_import/step1.php') diff --git a/app/Template/task_import/step1.php b/app/Template/task_import/step1.php new file mode 100644 index 00000000..7619216a --- /dev/null +++ b/app/Template/task_import/step1.php @@ -0,0 +1,34 @@ + +
+ form->csrf() ?> + + form->label(t('Delimiter'), 'delimiter') ?> + form->select('delimiter', $delimiters, $values) ?> + + form->label(t('Enclosure'), 'enclosure') ?> + form->select('enclosure', $enclosures, $values) ?> + + form->label(t('CSV File'), 'file') ?> + form->file('file', $errors) ?> + +

text->bytes($max_size) : $max_size ?>

+ +
+ +
+
+ +
+ +
+

url->link(t('Download CSV template'), 'taskImport', 'template', array('project_id' => $project['id'])) ?>

\ No newline at end of file -- cgit v1.2.3