summaryrefslogtreecommitdiff
path: root/app/Template/board
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-31 11:50:28 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-31 11:50:28 -0500
commitd8e452d375493a70186866b876c0617bb3269e5f (patch)
treebee3adfefbc89dc0b085e897ef4c492182de61a5 /app/Template/board
parent9570793f68d44179f9b7e0b264e5fbe0ca839c51 (diff)
Move task form elements to Task helper
Diffstat (limited to 'app/Template/board')
-rw-r--r--app/Template/board/popover_category.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Template/board/popover_category.php b/app/Template/board/popover_category.php
index 224ce8d1..e65593cd 100644
--- a/app/Template/board/popover_category.php
+++ b/app/Template/board/popover_category.php
@@ -9,8 +9,7 @@
<?= $this->form->hidden('id', $values) ?>
<?= $this->form->hidden('project_id', $values) ?>
- <?= $this->form->label(t('Category'), 'category_id') ?>
- <?= $this->form->select('category_id', $categories_list, $values, array(), array('autofocus')) ?><br/>
+ <?= $this->task->selectCategory($categories_list, $values, array(), array('autofocus'), true) ?>
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>