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/board/category.php

22 lines
890 B
PHP
Raw Normal View History

2014-07-20 12:26:15 +02:00
<section id="main">
<section>
2014-10-22 19:59:09 +02:00
<h3><?= t('Change category for the task "%s"', $values['title']) ?></h3>
2015-01-16 14:23:05 +01:00
<form method="post" action="<?= $this->u('board', 'updateCategory', array('task_id' => $values['id'], 'project_id' => $values['project_id'])) ?>">
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'), 'category_id') ?>
<?= $this->formSelect('category_id', $categories_list, $values) ?><br/>
2014-07-20 12:26:15 +02:00
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
2014-12-22 19:15:38 +01:00
<?= t('or') ?>
2015-01-16 14:23:05 +01:00
<?= $this->a(t('cancel'), 'board', 'show', array('project_id' => $project['id'])) ?>
2014-07-20 12:26:15 +02:00
</div>
</form>
</section>
</section>