diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-01-08 18:07:38 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-01-08 18:07:38 -0500 |
commit | 5ce0ebdd26c051049955ad4f1cc3b2659c083e9a (patch) | |
tree | ff4fc6cbc166a7dd2076ddab243e65d7fcd260a3 /app/Template/subtask/edit.php | |
parent | 07f9700179da74b056485375652c3b26d6fbce0d (diff) |
Rename methods to render fields in TaskHelper and SubtaskHelper
Diffstat (limited to 'app/Template/subtask/edit.php')
-rw-r--r-- | app/Template/subtask/edit.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/Template/subtask/edit.php b/app/Template/subtask/edit.php index b34b93a8..7c0266a8 100644 --- a/app/Template/subtask/edit.php +++ b/app/Template/subtask/edit.php @@ -6,10 +6,12 @@ <?= $this->form->csrf() ?> <?= $this->form->hidden('id', $values) ?> <?= $this->form->hidden('task_id', $values) ?> - <?= $this->subtask->selectTitle($values, $errors, array('autofocus')) ?> - <?= $this->subtask->selectAssignee($users_list, $values, $errors) ?> - <?= $this->subtask->selectTimeEstimated($values, $errors) ?> - <?= $this->subtask->selectTimeSpent($values, $errors) ?> + + <?= $this->subtask->renderTitleField($values, $errors, array('autofocus')) ?> + <?= $this->subtask->renderAssigneeField($users_list, $values, $errors) ?> + <?= $this->subtask->renderTimeEstimatedField($values, $errors) ?> + <?= $this->subtask->renderTimeSpentField($values, $errors) ?> + <?= $this->hook->render('template:subtask:form:edit', array('values' => $values, 'errors' => $errors)) ?> <?= $this->modal->submitButtons() ?> |