summaryrefslogtreecommitdiff
path: root/app/Template/subtask/restriction_change_status.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/subtask/restriction_change_status.php')
-rw-r--r--app/Template/subtask/restriction_change_status.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Template/subtask/restriction_change_status.php b/app/Template/subtask/restriction_change_status.php
index 99e022f8..88e91d82 100644
--- a/app/Template/subtask/restriction_change_status.php
+++ b/app/Template/subtask/restriction_change_status.php
@@ -2,14 +2,14 @@
<h2><?= t('You already have one subtask in progress') ?></h2>
</div>
- <form action="<?= $this->u('subtask', 'changeRestrictionStatus', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])) ?>" method="post">
+ <form action="<?= $this->url->href('subtask', 'changeRestrictionStatus', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])) ?>" method="post">
- <?= $this->formCsrf() ?>
- <?= $this->formHidden('redirect', array('redirect' => $redirect)) ?>
+ <?= $this->form->csrf() ?>
+ <?= $this->form->hidden('redirect', array('redirect' => $redirect)) ?>
<p><?= t('Select the new status of the subtask: "%s"', $subtask_inprogress['title']) ?></p>
- <?= $this->formRadios('status', $status_list) ?>
- <?= $this->formHidden('id', $subtask_inprogress) ?>
+ <?= $this->form->radios('status', $status_list) ?>
+ <?= $this->form->hidden('id', $subtask_inprogress) ?>
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-red"/>