2014-10-22 19:59:09 +02:00
|
|
|
<div class="page-header">
|
|
|
|
<h2><?= t('Category modification for the project "%s"', $project['name']) ?></h2>
|
|
|
|
</div>
|
2014-07-20 12:26:15 +02:00
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<form method="post" action="<?= $this->u('category', 'update', array('project_id' => $project['id'], 'category_id' => $values['id'])) ?>" autocomplete="off">
|
2014-12-22 19:15:38 +01:00
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->formCsrf() ?>
|
2014-12-22 19:15:38 +01:00
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->formHidden('id', $values) ?>
|
|
|
|
<?= $this->formHidden('project_id', $values) ?>
|
2014-07-20 12:26:15 +02:00
|
|
|
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->formLabel(t('Category Name'), 'name') ?>
|
2015-02-25 17:29:06 +01:00
|
|
|
<?= $this->formText('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
|
2014-07-20 12:26:15 +02:00
|
|
|
|
2014-10-22 19:59:09 +02:00
|
|
|
<div class="form-actions">
|
|
|
|
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
|
|
|
</div>
|
|
|
|
</form>
|