summaryrefslogtreecommitdiff
path: root/app/Template/analytic/lead_cycle_time.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/analytic/lead_cycle_time.php')
-rw-r--r--app/Template/analytic/lead_cycle_time.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/Template/analytic/lead_cycle_time.php b/app/Template/analytic/lead_cycle_time.php
index 2dccc136..ef595b79 100644
--- a/app/Template/analytic/lead_cycle_time.php
+++ b/app/Template/analytic/lead_cycle_time.php
@@ -21,13 +21,11 @@
<?= $this->form->csrf() ?>
<div class="form-inline-group">
- <?= $this->form->label(t('Start Date'), 'from') ?>
- <?= $this->form->text('from', $values, array(), array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?>
+ <?= $this->form->date(t('Start date'), 'from', $values) ?>
</div>
<div class="form-inline-group">
- <?= $this->form->label(t('End Date'), 'to') ?>
- <?= $this->form->text('to', $values, array(), array('required', 'placeholder="'.$this->text->in($date_format, $date_formats).'"'), 'form-date') ?>
+ <?= $this->form->date(t('End date'), 'to', $values) ?>
</div>
<div class="form-inline-group">