From d239f1775ba69d8e4c087be33856a9ba3ed2501f Mon Sep 17 00:00:00 2001 From: Brian Olsen Date: Wed, 18 Feb 2015 16:03:41 -0800 Subject: [PATCH] Better handle normal forms following isHorizontal forms on the same page. --- View/Helper/BootstrapFormHelper.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/View/Helper/BootstrapFormHelper.php b/View/Helper/BootstrapFormHelper.php index 19da317..27f387c 100644 --- a/View/Helper/BootstrapFormHelper.php +++ b/View/Helper/BootstrapFormHelper.php @@ -149,6 +149,8 @@ public function create($model = null, $options = array()) { if (in_array(self::FORM_HORIZONTAL, $class)) { $this->_isHorizontal = true; + } else { + $this->_isHorizontal = false; } if (in_array(self::FORM_SEARCH, $class) || in_array(self::FORM_INLINE, $class)) {