summaryrefslogtreecommitdiff
path: root/app/Template/board_category.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-24 22:51:30 -0400
commit90e06162999c8ec7fa9bcfa391800f7907419d9b (patch)
treef0f8d4a760f25c4f7773e0a1851031db6b08b9f2 /app/Template/board_category.php
parent180efb962c6fc4da47ed39e60db137d63ffaad5b (diff)
Rename Locales and Templates folders to be more consistent
Diffstat (limited to 'app/Template/board_category.php')
-rw-r--r--app/Template/board_category.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/Template/board_category.php b/app/Template/board_category.php
new file mode 100644
index 00000000..36126a1d
--- /dev/null
+++ b/app/Template/board_category.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 category for the task "%s"', $values['title']) ?></h3>
+ <form method="post" action="?controller=board&amp;action=updateCategory" autocomplete="off">
+ <?= 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, $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