summaryrefslogtreecommitdiff
path: root/app/Template/task_bulk/show.php
blob: 2442779dbb29fceaaa3977224ed164b8f61278cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div class="page-header">
    <h2><?= $this->text->e($project['name']) ?> &gt; <?= t('Create tasks in bulk') ?></h2>
</div>

<form method="post" action="<?= $this->url->href('TaskBulkController', 'save', array('project_id' => $project['id'])) ?>" autocomplete="off">
    <?= $this->form->csrf() ?>
    <?= $this->form->hidden('column_id', $values) ?>
    <?= $this->form->hidden('swimlane_id', $values) ?>
    <?= $this->form->hidden('project_id', $values) ?>

    <?= $this->task->selectColor($values) ?>
    <?= $this->task->selectAssignee($users_list, $values, $errors) ?>
    <?= $this->task->selectCategory($categories_list, $values, $errors) ?>

    <?= $this->form->label(t('Tasks'), 'tasks') ?>
    <?= $this->form->textarea('tasks', $values, $errors, array('placeholder="'.t('My task title').'"')) ?>
    <p class="form-help"><?= t('Enter one task by line.') ?></p>

    <?= $this->modal->submitButtons() ?>
</form>