summaryrefslogtreecommitdiff
path: root/app/Template/category/edit.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/edit.php
parent84770123b4784a74b804a00facaea5bf9ae14c9f (diff)
Move category template to a subfolder
Diffstat (limited to 'app/Template/category/edit.php')
-rw-r--r--app/Template/category/edit.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/Template/category/edit.php b/app/Template/category/edit.php
new file mode 100644
index 00000000..05fe288a
--- /dev/null
+++ b/app/Template/category/edit.php
@@ -0,0 +1,18 @@
+<div class="page-header">
+ <h2><?= t('Category modification for the project "%s"', $project['name']) ?></h2>
+</div>
+
+<form method="post" action="<?= Helper\u('category', 'update', array('project_id' => $project['id'])) ?>" autocomplete="off">
+
+ <?= Helper\form_csrf() ?>
+
+ <?= Helper\form_hidden('id', $values) ?>
+ <?= Helper\form_hidden('project_id', $values) ?>
+
+ <?= Helper\form_label(t('Category Name'), 'name') ?>
+ <?= Helper\form_text('name', $values, $errors, array('autofocus required')) ?>
+
+ <div class="form-actions">
+ <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
+ </div>
+</form> \ No newline at end of file