Commit 5470bf6a by Alexander Makarov

Merge branch 'patch-2' of github.com:it3rmit/yii2 into it3rmit-patch-2

parents e88978f8 91a1c959
...@@ -64,7 +64,10 @@ class ButtonDropdown extends Widget ...@@ -64,7 +64,10 @@ class ButtonDropdown extends Widget
*/ */
public function run() public function run()
{ {
echo $this->renderButton() . "\n" . $this->renderDropdown(); echo Html::beginTag('div', ['class' => 'btn-group']);
echo "\n" . $this->renderButton();
echo "\n" . $this->renderDropdown();
echo "\n" . Html::endTag('div');
$this->registerPlugin('button'); $this->registerPlugin('button');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment