From 5ce0ebdd26c051049955ad4f1cc3b2659c083e9a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 8 Jan 2017 18:07:38 -0500 Subject: Rename methods to render fields in TaskHelper and SubtaskHelper --- app/Template/task_modification/show.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'app/Template/task_modification') 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 @@
- task->selectTitle($values, $errors) ?> - task->selectDescription($values, $errors) ?> - task->selectTags($project, $tags) ?> + task->renderTitleField($values, $errors) ?> + task->renderDescriptionField($values, $errors) ?> + task->renderTagField($project, $tags) ?> hook->render('template:task:form:first-column', array('values' => $values, 'errors' => $errors)) ?>
- task->selectColor($values) ?> - task->selectAssignee($users_list, $values, $errors) ?> - task->selectCategory($categories_list, $values, $errors) ?> - task->selectPriority($project, $values) ?> + task->renderColorField($values) ?> + task->renderAssigneeField($users_list, $values, $errors) ?> + task->renderCategoryField($categories_list, $values, $errors) ?> + task->renderPriorityField($project, $values) ?> hook->render('template:task:form:second-column', array('values' => $values, 'errors' => $errors)) ?>
- task->selectDueDate($values, $errors) ?> - task->selectStartDate($values, $errors) ?> - task->selectTimeEstimated($values, $errors) ?> - task->selectTimeSpent($values, $errors) ?> - task->selectScore($values, $errors) ?> - task->selectReference($values, $errors) ?> + task->renderDueDateField($values, $errors) ?> + task->renderStartDateField($values, $errors) ?> + task->renderTimeEstimatedField($values, $errors) ?> + task->renderTimeSpentField($values, $errors) ?> + task->renderScoreField($values, $errors) ?> + task->renderReferenceField($values, $errors) ?> hook->render('template:task:form:third-column', array('values' => $values, 'errors' => $errors)) ?>
-- cgit v1.2.3