Remove some code duplication

This commit is contained in:
Frédéric Guillot
2014-11-26 21:30:21 -05:00
parent 3ba8e06632
commit 52b9899fc5
2 changed files with 9 additions and 20 deletions

View File

@@ -2,7 +2,7 @@
<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">
<form method="post" action="<?= Helper\u('category', 'update', array('project_id' => $project['id'], 'category_id' => $values['id'])) ?>" autocomplete="off">
<?= Helper\form_csrf() ?>