Skip to content

Commit

Permalink
Merge pull request #75 from ReedD/master
Browse files Browse the repository at this point in the history
Increased control on input div attributes
  • Loading branch information
slywalker committed Sep 2, 2013
2 parents b95e997 + 1e80ae8 commit 38f3868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion View/Helper/BootstrapFormHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 38f3868

Please sign in to comment.