summaryrefslogtreecommitdiff
path: root/app/Template/subtask/restriction_change_status.php
blob: 88e91d82df3f2815b58cd5356dbab51e3c33ee32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div class="page-header">
    <h2><?= t('You already have one subtask in progress') ?></h2>
</div>

    <form action="<?= $this->url->href('subtask', 'changeRestrictionStatus', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'subtask_id' => $subtask['id'])) ?>" method="post">

    <?= $this->form->csrf() ?>
    <?= $this->form->hidden('redirect', array('redirect' => $redirect)) ?>

    <p><?= t('Select the new status of the subtask: "%s"', $subtask_inprogress['title']) ?></p>
    <?= $this->form->radios('status', $status_list) ?>
    <?= $this->form->hidden('id', $subtask_inprogress) ?>

    <div class="form-actions">
        <input type="submit" value="<?= t('Save') ?>" class="btn btn-red"/>
        <?= t('or') ?>
        <a href="#" class="close-popover"><?= t('cancel') ?></a>
    </div>
</form>