summaryrefslogtreecommitdiff
path: root/app/Templates/board_assignee.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Templates/board_assignee.php')
-rw-r--r--app/Templates/board_assignee.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/Templates/board_assignee.php b/app/Templates/board_assignee.php
new file mode 100644
index 00000000..41ede32b
--- /dev/null
+++ b/app/Templates/board_assignee.php
@@ -0,0 +1,24 @@
+<section id="main">
+
+ <div class="page-header board">
+ <h2><?= t('Project "%s"', $current_project_name) ?></h2>
+ </div>
+
+ <section>
+ <h3><?= t('Change assignee for the task "%s"', $values['title']) ?></h3>
+ <form method="post" action="?controller=board&amp;action=updateAssignee" autocomplete="off">
+ <?= Helper\form_csrf() ?>
+ <?= Helper\form_hidden('id', $values) ?>
+ <?= Helper\form_hidden('project_id', $values) ?>
+
+ <?= Helper\form_label(t('Assignee'), 'owner_id') ?>
+ <?= Helper\form_select('owner_id', $users_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=<?= $values['project_id'] ?>"><?= t('cancel') ?></a>
+ </div>
+ </form>
+ </section>
+
+</section> \ No newline at end of file