summaryrefslogtreecommitdiff
path: root/app/Template/external_task_modification/show.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/external_task_modification/show.php')
-rw-r--r--app/Template/external_task_modification/show.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/Template/external_task_modification/show.php b/app/Template/external_task_modification/show.php
new file mode 100644
index 00000000..55180b96
--- /dev/null
+++ b/app/Template/external_task_modification/show.php
@@ -0,0 +1,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>