summaryrefslogtreecommitdiff
path: root/app/Template/export/tasks.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/export/tasks.php')
-rw-r--r--app/Template/export/tasks.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/Template/export/tasks.php b/app/Template/export/tasks.php
index e502085c..5c5e2172 100644
--- a/app/Template/export/tasks.php
+++ b/app/Template/export/tasks.php
@@ -6,15 +6,15 @@
<form method="get" action="?" autocomplete="off">
- <?= $this->formHidden('controller', $values) ?>
- <?= $this->formHidden('action', $values) ?>
- <?= $this->formHidden('project_id', $values) ?>
+ <?= $this->form->hidden('controller', $values) ?>
+ <?= $this->form->hidden('action', $values) ?>
+ <?= $this->form->hidden('project_id', $values) ?>
- <?= $this->formLabel(t('Start Date'), 'from') ?>
- <?= $this->formText('from', $values, $errors, array('required', 'placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?><br/>
+ <?= $this->form->label(t('Start Date'), 'from') ?>
+ <?= $this->form->text('from', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?><br/>
- <?= $this->formLabel(t('End Date'), 'to') ?>
- <?= $this->formText('to', $values, $errors, array('required', 'placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?>
+ <?= $this->form->label(t('End Date'), 'to') ?>
+ <?= $this->form->text('to', $values, $errors, array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?>
<div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div>