summaryrefslogtreecommitdiff
path: root/app/Template/task_modification
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-01-08 18:07:38 -0500
committerFrederic Guillot <fred@kanboard.net>2017-01-08 18:07:38 -0500
commit5ce0ebdd26c051049955ad4f1cc3b2659c083e9a (patch)
treeff4fc6cbc166a7dd2076ddab243e65d7fcd260a3 /app/Template/task_modification
parent07f9700179da74b056485375652c3b26d6fbce0d (diff)
Rename methods to render fields in TaskHelper and SubtaskHelper
Diffstat (limited to 'app/Template/task_modification')
-rw-r--r--app/Template/task_modification/show.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/app/Template/task_modification/show.php b/app/Template/task_modification/show.php
index 23a0a43b..710abedf 100644
--- a/app/Template/task_modification/show.php
+++ b/app/Template/task_modification/show.php
@@ -8,29 +8,29 @@
<div class="task-form-container">
<div class="task-form-main-column">
- <?= $this->task->selectTitle($values, $errors) ?>
- <?= $this->task->selectDescription($values, $errors) ?>
- <?= $this->task->selectTags($project, $tags) ?>
+ <?= $this->task->renderTitleField($values, $errors) ?>
+ <?= $this->task->renderDescriptionField($values, $errors) ?>
+ <?= $this->task->renderTagField($project, $tags) ?>
<?= $this->hook->render('template:task:form:first-column', array('values' => $values, 'errors' => $errors)) ?>
</div>
<div class="task-form-secondary-column">
- <?= $this->task->selectColor($values) ?>
- <?= $this->task->selectAssignee($users_list, $values, $errors) ?>
- <?= $this->task->selectCategory($categories_list, $values, $errors) ?>
- <?= $this->task->selectPriority($project, $values) ?>
+ <?= $this->task->renderColorField($values) ?>
+ <?= $this->task->renderAssigneeField($users_list, $values, $errors) ?>
+ <?= $this->task->renderCategoryField($categories_list, $values, $errors) ?>
+ <?= $this->task->renderPriorityField($project, $values) ?>
<?= $this->hook->render('template:task:form:second-column', array('values' => $values, 'errors' => $errors)) ?>
</div>
<div class="task-form-secondary-column">
- <?= $this->task->selectDueDate($values, $errors) ?>
- <?= $this->task->selectStartDate($values, $errors) ?>
- <?= $this->task->selectTimeEstimated($values, $errors) ?>
- <?= $this->task->selectTimeSpent($values, $errors) ?>
- <?= $this->task->selectScore($values, $errors) ?>
- <?= $this->task->selectReference($values, $errors) ?>
+ <?= $this->task->renderDueDateField($values, $errors) ?>
+ <?= $this->task->renderStartDateField($values, $errors) ?>
+ <?= $this->task->renderTimeEstimatedField($values, $errors) ?>
+ <?= $this->task->renderTimeSpentField($values, $errors) ?>
+ <?= $this->task->renderScoreField($values, $errors) ?>
+ <?= $this->task->renderReferenceField($values, $errors) ?>
<?= $this->hook->render('template:task:form:third-column', array('values' => $values, 'errors' => $errors)) ?>
</div>