diff options
Diffstat (limited to 'app/Template/project_edit/dates.php')
-rw-r--r-- | app/Template/project_edit/dates.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/Template/project_edit/dates.php b/app/Template/project_edit/dates.php index 48135ddc..1c2c3dd4 100644 --- a/app/Template/project_edit/dates.php +++ b/app/Template/project_edit/dates.php @@ -11,12 +11,8 @@ <?= $this->form->csrf() ?> <?= $this->form->hidden('id', $values) ?> <?= $this->form->hidden('name', $values) ?> - - <?= $this->form->label(t('Start date'), 'start_date') ?> - <?= $this->form->text('start_date', $values, $errors, array('maxlength="10"'), 'form-date') ?> - - <?= $this->form->label(t('End date'), 'end_date') ?> - <?= $this->form->text('end_date', $values, $errors, array('maxlength="10"'), 'form-date') ?> + <?= $this->form->date(t('Start date'), 'start_date', $values, $errors) ?> + <?= $this->form->date(t('End date'), 'end_date', $values, $errors) ?> <div class="form-actions"> <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> |