diff options
Diffstat (limited to 'app/Template/action')
-rw-r--r-- | app/Template/action/index.php | 2 | ||||
-rw-r--r-- | app/Template/action/params.php | 2 |
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 ?> |