Move task form elements to Task helper

This commit is contained in:
Frederic Guillot
2016-01-31 11:50:28 -05:00
parent 9570793f68
commit d8e452d375
8 changed files with 100 additions and 62 deletions

View File

@@ -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"/>