From eeac2329baab1fdae7cbf6c707ed2ffd8beb4c1b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 24 May 2015 16:02:25 -0400 Subject: Helpers refactoring --- app/Template/task/move_project.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'app/Template/task/move_project.php') diff --git a/app/Template/task/move_project.php b/app/Template/task/move_project.php index ccc67851..b0b33f81 100644 --- a/app/Template/task/move_project.php +++ b/app/Template/task/move_project.php @@ -6,18 +6,18 @@

-
+ - formCsrf() ?> + form->csrf() ?> - formHidden('id', $values) ?> - formLabel(t('Project'), 'project_id') ?> - formSelect('project_id', $projects_list, $values, $errors) ?>
+ form->hidden('id', $values) ?> + form->label(t('Project'), 'project_id') ?> + form->select('project_id', $projects_list, $values, $errors) ?>
- a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> + url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
-- cgit v1.2.3