1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/app/Template/task/time.php

15 lines
881 B
PHP
Raw Normal View History

2015-01-16 14:23:05 +01:00
<form method="post" action="<?= $this->u('task', 'time', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" class="form-inline task-time-form" autocomplete="off">
<?= $this->formCsrf() ?>
<?= $this->formHidden('id', $values) ?>
2014-11-23 20:13:38 +01:00
2015-01-16 14:23:05 +01:00
<?= $this->formLabel(t('Start date'), 'date_started') ?>
<?= $this->formText('date_started', $values, array(), array('placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?>
2014-11-23 20:13:38 +01:00
2015-01-16 14:23:05 +01:00
<?= $this->formLabel(t('Time estimated'), 'time_estimated') ?>
<?= $this->formNumeric('time_estimated', $values, array(), array('placeholder="'.t('hours').'"')) ?>
2014-11-23 20:13:38 +01:00
2015-01-16 14:23:05 +01:00
<?= $this->formLabel(t('Time spent'), 'time_spent') ?>
<?= $this->formNumeric('time_spent', $values, array(), array('placeholder="'.t('hours').'"')) ?>
2014-11-23 20:13:38 +01:00
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
</form>