diff options
Diffstat (limited to 'app/Templates/task_move_project.php')
-rw-r--r-- | app/Templates/task_move_project.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/Templates/task_move_project.php b/app/Templates/task_move_project.php new file mode 100644 index 00000000..190a93d9 --- /dev/null +++ b/app/Templates/task_move_project.php @@ -0,0 +1,18 @@ +<div class="page-header"> + <h2><?= t('Move the task to another project') ?></h2> +</div> + +<form method="post" action="?controller=task&action=move&task_id=<?= $task['id'] ?>&project_id=<?= $task['project_id'] ?>" autocomplete="off"> + + <?= Helper\form_csrf() ?> + + <?= Helper\form_hidden('id', $values) ?> + <?= Helper\form_label(t('Project'), 'project_id') ?> + <?= Helper\form_select('project_id', $projects_list, $values, $errors) ?><br/> + + <div class="form-actions"> + <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <?= t('or') ?> + <a href="?controller=board&action=show&project_id=<?= $task['project_id'] ?>"><?= t('cancel') ?></a> + </div> +</form>
\ No newline at end of file |