From ca00b8cf532bd93419e3f4bc46f9dde5caa90eec Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 8 Jan 2017 15:31:33 -0500 Subject: Display project exports in modal box --- app/Template/export/tasks.php | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'app/Template/export/tasks.php') diff --git a/app/Template/export/tasks.php b/app/Template/export/tasks.php index ce1c869e..232ff8eb 100644 --- a/app/Template/export/tasks.php +++ b/app/Template/export/tasks.php @@ -1,20 +1,16 @@ - +render('export/header', array('project' => $project, 'title' => $title)) ?>

-
- form->hidden('controller', $values) ?> - form->hidden('action', $values) ?> + + form->csrf() ?> form->hidden('project_id', $values) ?> - form->date(t('Start date'), 'from', $values) ?> form->date(t('End date'), 'to', $values) ?> -
-
- + + + url->link(t('cancel'), 'ExportController', 'tasks', array('project_id' => $project['id']), false, 'js-modal-close') ?>
-- cgit v1.2.3