Do not show closed tasks in task move position form

This commit is contained in:
Frederic Guillot
2016-10-05 20:37:51 -04:00
parent 9159be81ec
commit 4cc856344f
4 changed files with 12 additions and 6 deletions

View File

@@ -22,9 +22,7 @@
<div v-if="tasks.length > 0">
<?= $this->form->label(t('Position'), 'position') ?>
<select v-model="position" id="form-position">
<option v-for="task in tasks" v-bind:value="task.position">
#{{ task.id }} - {{ task.title }}
</option>
<option v-for="task in tasks" v-bind:value="task.position">#{{ task.id }} - {{ task.title }}</option>
</select>
<label><input type="radio" value="before" v-model="positionChoice"><?= t('Insert before this task') ?></label>
<label><input type="radio" value="after" v-model="positionChoice"><?= t('Insert after this task') ?></label>