1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/app/Template/category/edit.php

18 lines
671 B
PHP
Raw Normal View History

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') ?>
<?= $this->formText('name', $values, $errors, array('autofocus required')) ?>
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>