diff options
Diffstat (limited to 'app/Template/board/category.php')
-rw-r--r-- | app/Template/board/category.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/Template/board/category.php b/app/Template/board/category.php new file mode 100644 index 00000000..b38758d3 --- /dev/null +++ b/app/Template/board/category.php @@ -0,0 +1,22 @@ +<section id="main"> + <section> + <h3><?= t('Change category for the task "%s"', $values['title']) ?></h3> + <form method="post" action="<?= $this->url->href('board', 'updateCategory', array('task_id' => $values['id'], 'project_id' => $values['project_id'])) ?>"> + + <?= $this->form->csrf() ?> + + <?= $this->form->hidden('id', $values) ?> + <?= $this->form->hidden('project_id', $values) ?> + + <?= $this->form->label(t('Category'), 'category_id') ?> + <?= $this->form->select('category_id', $categories_list, $values) ?><br/> + + <div class="form-actions"> + <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <?= t('or') ?> + <?= $this->url->link(t('cancel'), 'board', 'show', array('project_id' => $project['id']), false, 'close-popover') ?> + </div> + </form> + </section> + +</section>
\ No newline at end of file |