Browse Source

Merge pull request #1079 from nukkumatti/master

Fixes issue #1078: Typo in comment
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
5cd7976a95
  1. 4
      framework/yii/bootstrap/ButtonGroup.php

4
framework/yii/bootstrap/ButtonGroup.php

@ -17,7 +17,7 @@ use yii\helpers\Html;
* *
* ```php * ```php
* // a button group with items configuration * // a button group with items configuration
* echo ButtonGroup::::widget([ * echo ButtonGroup::widget([
* 'buttons' => [ * 'buttons' => [
* ['label' => 'A'], * ['label' => 'A'],
* ['label' => 'B'], * ['label' => 'B'],
@ -25,7 +25,7 @@ use yii\helpers\Html;
* ]); * ]);
* *
* // button group with an item as a string * // button group with an item as a string
* echo ButtonGroup::::widget([ * echo ButtonGroup::widget([
* 'buttons' => [ * 'buttons' => [
* Button::widget(['label' => 'A']), * Button::widget(['label' => 'A']),
* ['label' => 'B'], * ['label' => 'B'],

Loading…
Cancel
Save