Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Commit

Permalink
Bs3InputMacros: do not add div.radio wrapper when partial rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Sep 30, 2017
1 parent c759181 commit aacb1cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridges/Latte/Macros/BS3InputMacros.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static function input(Html $input, BaseControl $control, $isPart)
$input->addHtml($input->value);
$input->addClass('btn');

} elseif ($control instanceof RadioList) {
} elseif ($control instanceof RadioList && !$isPart) {
$input = Html::el('div')->addAttributes(['class' => 'radio'])->addHtml($input);
}

Expand Down

0 comments on commit aacb1cd

Please sign in to comment.