summaryrefslogtreecommitdiff
path: root/app/Template/export/transitions.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-24 16:02:25 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-24 16:02:25 -0400
commiteeac2329baab1fdae7cbf6c707ed2ffd8beb4c1b (patch)
tree511c2fe47f8fbb1ea90e59e7a7a7f5e3530aa9ed /app/Template/export/transitions.php
parent65e9e5d1bed9f88ecfd43eb2c1e780a7c22c151f (diff)
Helpers refactoring
Diffstat (limited to 'app/Template/export/transitions.php')
-rw-r--r--app/Template/export/transitions.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/Template/export/transitions.php b/app/Template/export/transitions.php
index 7cd190e0..bf6ef249 100644
--- a/app/Template/export/transitions.php
+++ b/app/Template/export/transitions.php
@@ -8,15 +8,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>