diff --git a/View/Inline.php b/View/Inline.php index c7ff257..ad185be 100644 --- a/View/Inline.php +++ b/View/Inline.php @@ -35,7 +35,7 @@ public function render() $element = $elements[$e]; - echo $this->getLabel($element), ' ', $element->getInput(), $this->getDescriptions($element); + echo $this->getLabel($element) . ' ' . $element->getInput() . $this->getDescriptions($element); ++$elementCount; } diff --git a/View/SideBySide.php b/View/SideBySide.php index 0000551..d4b9e66 100644 --- a/View/SideBySide.php +++ b/View/SideBySide.php @@ -35,7 +35,7 @@ public function render() if ($element instanceof Hidden || $element instanceof HTML ) { - $element->getInput(); + echo $element->getInput(); } elseif ($element instanceof Button) { if ($e == 0 || !$elements[($e - 1)] instanceof Button) { echo '