summaryrefslogtreecommitdiff
path: root/app/Template/action
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-20 10:48:47 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-20 10:48:47 -0400
commitcb0916d10e4a42a62f0ac8c69ecb4b7a15f398b4 (patch)
treed5344b06ee0b87224ec157f44bf513ca7e353b5b /app/Template/action
parent7056d14c95888eebe90d023524d4a63e562a9f64 (diff)
Add automatic action to send a task by email
Diffstat (limited to 'app/Template/action')
-rw-r--r--app/Template/action/index.php2
-rw-r--r--app/Template/action/params.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/action/index.php b/app/Template/action/index.php
index ca9c6543..6898fc26 100644
--- a/app/Template/action/index.php
+++ b/app/Template/action/index.php
@@ -42,7 +42,7 @@
<?= $this->text->in($param['value'], $colors_list) ?>
<?php elseif ($this->text->contains($param['name'], 'category_id')): ?>
<?= $this->text->in($param['value'], $categories_list) ?>
- <?php elseif ($this->text->contains($param['name'], 'label')): ?>
+ <?php else: ?>
<?= $this->e($param['value']) ?>
<?php endif ?>
</strong>
diff --git a/app/Template/action/params.php b/app/Template/action/params.php
index 685cbcc5..759c5968 100644
--- a/app/Template/action/params.php
+++ b/app/Template/action/params.php
@@ -28,7 +28,7 @@
<?php elseif ($this->text->contains($param_name, 'category_id')): ?>
<?= $this->form->label($param_desc, $param_name) ?>
<?= $this->form->select('params['.$param_name.']', $categories_list, $values) ?><br/>
- <?php elseif ($this->text->contains($param_name, 'label')): ?>
+ <?php else: ?>
<?= $this->form->label($param_desc, $param_name) ?>
<?= $this->form->text('params['.$param_name.']', $values) ?>
<?php endif ?>