diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-09 20:04:27 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-09 20:04:27 -0500 |
commit | 7eadf7cfd80176ab9b74c9c6a55c28db0f43fa88 (patch) | |
tree | b55b32bf9200f4ed045adfabaadb00d0ce20fc65 /app/Template/board/category.php | |
parent | e89ba5e9e692f33427fedb05a095255f27480a6b (diff) |
Start templates cleanup and reorganisation
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..88d8e71c --- /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="<?= Helper\u('board', 'updateCategory', array('task_id' => $values['id'])) ?>"> + + <?= Helper\form_csrf() ?> + + <?= Helper\form_hidden('id', $values) ?> + <?= Helper\form_hidden('project_id', $values) ?> + + <?= Helper\form_label(t('Category'), 'category_id') ?> + <?= Helper\form_select('category_id', $categories_list, $values) ?><br/> + + <div class="form-actions"> + <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <?= t('or') ?> + <?= Helper\a(t('cancel'), 'board', 'show', array('project_id' => $project['id'])) ?> + </div> + </form> + </section> + +</section>
\ No newline at end of file |