summaryrefslogtreecommitdiff
path: root/app/Templates/task_move_project.php
blob: 190a93d9db61bb5ccd6e893f18d78fa438e5521d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div class="page-header">
    <h2><?= t('Move the task to another project') ?></h2>
</div>

<form method="post" action="?controller=task&amp;action=move&amp;task_id=<?= $task['id'] ?>&amp;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&amp;action=show&amp;project_id=<?= $task['project_id'] ?>"><?= t('cancel') ?></a>
    </div>
</form>