summaryrefslogtreecommitdiff
path: root/app/Template/task_bulk_move_column
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-06-01 15:58:17 -0700
committerFrédéric Guillot <fred@kanboard.net>2018-06-01 15:58:17 -0700
commit912cf378d730b3df8d285ba765711d9c456bdea0 (patch)
treecc26710f2e1e4e9eb958b873a2fb537cf3a389cb /app/Template/task_bulk_move_column
parentcd6da138973f6bfe7c71846ff6cc1d6fb97c4813 (diff)
Add checkboxes in list view to move tasks to another column at once
Diffstat (limited to 'app/Template/task_bulk_move_column')
-rw-r--r--app/Template/task_bulk_move_column/show.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/Template/task_bulk_move_column/show.php b/app/Template/task_bulk_move_column/show.php
new file mode 100644
index 00000000..3333391e
--- /dev/null
+++ b/app/Template/task_bulk_move_column/show.php
@@ -0,0 +1,16 @@
+<div class="page-header">
+ <h2><?= t('Move selected tasks to another column') ?></h2>
+</div>
+
+<form action="<?= $this->url->href('TaskBulkMoveColumnController', 'save', ['project_id' => $project['id']]) ?>" method="post">
+ <?= $this->form->csrf() ?>
+ <?= $this->form->hidden('task_ids', $values) ?>
+
+ <?= $this->form->label(t('Swimlane'), 'swimlane_id') ?>
+ <?= $this->form->select('swimlane_id', $swimlanes, $values) ?>
+
+ <?= $this->form->label(t('Column'), 'column_id') ?>
+ <?= $this->form->select('column_id', $columns, $values) ?>
+
+ <?= $this->modal->submitButtons() ?>
+</form>