diff --git a/View/Helper/BootstrapFormHelper.php b/View/Helper/BootstrapFormHelper.php index e36a7c2..10a7609 100644 --- a/View/Helper/BootstrapFormHelper.php +++ b/View/Helper/BootstrapFormHelper.php @@ -247,7 +247,7 @@ public function input($fieldName, $options = array()) { $input = $hidden . ((false === $div) ? $input : $this->Html->div($divControls, $input)); $out = $before . $label . $between . $input; - return (false === $div) ? $out : $this->Html->div($div, $out); + return (false === $div) ? $out : $this->Html->tag('div', $out, $div); } protected function _getType($fieldName, $options) {