summaryrefslogtreecommitdiff
path: root/app/Template/category/remove.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-13 20:04:34 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-13 20:04:34 -0500
commite4efc73a90b0ef62b5d828db53a365184be40137 (patch)
tree77a376887a5b5e2f623f8642258ccb0c6846532d /app/Template/category/remove.php
parent84770123b4784a74b804a00facaea5bf9ae14c9f (diff)
Move category template to a subfolder
Diffstat (limited to 'app/Template/category/remove.php')
-rw-r--r--app/Template/category/remove.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Template/category/remove.php b/app/Template/category/remove.php
new file mode 100644
index 00000000..39e5c1db
--- /dev/null
+++ b/app/Template/category/remove.php
@@ -0,0 +1,17 @@
+<section id="main">
+ <div class="page-header">
+ <h2><?= t('Remove a category') ?></h2>
+ </div>
+
+ <div class="confirm">
+ <p class="alert alert-info">
+ <?= t('Do you really want to remove this category: "%s"?', $category['name']) ?>
+ </p>
+
+ <div class="form-actions">
+ <?= Helper\a(t('Yes'), 'category', 'remove', array('project_id' => $project['id'], 'category_id' => $category['id']), true, 'btn btn-red') ?>
+ <?= t('or') ?>
+ <?= Helper\a(t('cancel'), 'category', 'index', array('project_id' => $project['id'])) ?>
+ </div>
+ </div>
+</section> \ No newline at end of file