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

        <?= $this->form->csrf() ?>

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

        <?= $this->task->selectAssignee($users_list, $values, array(), array('autofocus')) ?>

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