summaryrefslogtreecommitdiff
path: root/app/Template/task/new.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task/new.php')
-rw-r--r--app/Template/task/new.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Template/task/new.php b/app/Template/task/new.php
index 4bfb8064..37294c89 100644
--- a/app/Template/task/new.php
+++ b/app/Template/task/new.php
@@ -54,8 +54,10 @@
<?= $this->formLabel(t('Category'), 'category_id') ?>
<?= $this->formSelect('category_id', $categories_list, $values, $errors) ?><br/>
+ <?php if (! (count($swimlanes_list) === 1 && key($swimlanes_list) === 0)): ?>
<?= $this->formLabel(t('Swimlane'), 'swimlane_id') ?>
<?= $this->formSelect('swimlane_id', $swimlanes_list, $values, $errors) ?><br/>
+ <?php endif ?>
<?= $this->formLabel(t('Column'), 'column_id') ?>
<?= $this->formSelect('column_id', $columns_list, $values, $errors) ?><br/>