summaryrefslogtreecommitdiff
path: root/app/Template/external_task_modification/show.php
blob: 55180b96e98dfee863966e2cc9ebeec71c725f9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<form method="post" action="<?= $this->url->href('TaskModificationController', 'update', array('task_id' => $task['id'], 'project_id' => $project['id'])) ?>">
    <?= $this->form->csrf() ?>
    <?= $this->form->hidden('id', $values) ?>
    <?= $this->form->hidden('project_id', $values) ?>

    <?php if (! empty($error_message)): ?>
        <p class="alert alert-error"><?= $this->text->e($error_message) ?></p>
    <?php else: ?>
        <?= $this->render($template, array(
            'project' => $project,
            'task' => $task,
            'external_task' => $external_task,
            'tags' => $tags,
            'users_list' => $users_list,
            'categories_list' => $categories_list,
            'values' => $values,
            'errors' => $errors,
        )) ?>
    <?php endif ?>

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