summaryrefslogtreecommitdiff
path: root/app/Template/board/assignee.php
blob: cd03a67ea6489d7d1be2663713ec420f13e19c85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<section id="main">
    <section>
        <h3><?= t('Change assignee for the task "%s"', $values['title']) ?></h3>
        <form method="post" action="<?= $this->u('board', 'updateAssignee', array('task_id' => $values['id'], 'project_id' => $values['project_id'])) ?>">

            <?= $this->formCsrf() ?>

            <?= $this->formHidden('id', $values) ?>
            <?= $this->formHidden('project_id', $values) ?>

            <?= $this->formLabel(t('Assignee'), 'owner_id') ?>
            <?= $this->formSelect('owner_id', $users_list, $values) ?><br/>

            <div class="form-actions">
                <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
                <?= t('or') ?>
                <?= $this->a(t('cancel'), 'board', 'show', array('project_id' => $project['id'])) ?>
            </div>
        </form>
    </section>
</section>