2014-07-20 12:26:15 +02:00
|
|
|
<section id="main">
|
|
|
|
|
|
|
|
<div class="page-header board">
|
2014-10-22 19:59:09 +02:00
|
|
|
<h2><?= t('Project "%s"', $current_project_name) ?></h2>
|
2014-07-20 12:26:15 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<section>
|
2014-10-22 19:59:09 +02:00
|
|
|
<h3><?= t('Change category for the task "%s"', $values['title']) ?></h3>
|
|
|
|
<form method="post" action="?controller=board&action=updateCategory" autocomplete="off">
|
2014-07-20 12:26:15 +02:00
|
|
|
<?= Helper\form_csrf() ?>
|
|
|
|
<?= Helper\form_hidden('id', $values) ?>
|
|
|
|
<?= Helper\form_hidden('project_id', $values) ?>
|
|
|
|
|
2014-10-22 19:59:09 +02:00
|
|
|
<?= Helper\form_label(t('Category'), 'category_id') ?>
|
|
|
|
<?= Helper\form_select('category_id', $categories_list, $values, $errors) ?><br/>
|
2014-07-20 12:26:15 +02:00
|
|
|
|
|
|
|
<div class="form-actions">
|
|
|
|
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
|
|
|
<?= t('or') ?> <a href="?controller=board&action=show&project_id=<?= $values['project_id'] ?>"><?= t('cancel') ?></a>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</section>
|