summaryrefslogtreecommitdiff
path: root/app/Template/category/edit.php
diff options
context:
space:
mode:
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