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.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/category/edit.php b/app/Template/category/edit.php
index 66cf429b..bec175d5 100644
--- a/app/Template/category/edit.php
+++ b/app/Template/category/edit.php
@@ -2,15 +2,15 @@
<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'], 'category_id' => $values['id'])) ?>" autocomplete="off">
+<form method="post" action="<?= $this->u('category', 'update', array('project_id' => $project['id'], 'category_id' => $values['id'])) ?>" autocomplete="off">
- <?= Helper\form_csrf() ?>
+ <?= $this->formCsrf() ?>
- <?= Helper\form_hidden('id', $values) ?>
- <?= Helper\form_hidden('project_id', $values) ?>
+ <?= $this->formHidden('id', $values) ?>
+ <?= $this->formHidden('project_id', $values) ?>
- <?= Helper\form_label(t('Category Name'), 'name') ?>
- <?= Helper\form_text('name', $values, $errors, array('autofocus required')) ?>
+ <?= $this->formLabel(t('Category Name'), 'name') ?>
+ <?= $this->formText('name', $values, $errors, array('autofocus required')) ?>
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>