crisu83 / yiistrap

Twitter Bootstrap for the Yii PHP framework.
http://www.getyiistrap.com
BSD 3-Clause "New" or "Revised" License
286 stars 176 forks source link

Bs3 #235

Closed circulon closed 10 years ago

circulon commented 10 years ago

Fixed php warning if html options used for navlist header Removed Extraneous space possibly causing build error

circulon commented 10 years ago

Fixed issue #200 not building

crisu83 commented 10 years ago

I'm not exactly sure why you would want this because you can already pass options to it like so:

array('label' => 'My header', 'class' => 'my-header-class')

With the change that you are suggesting you would be achieve the same result by passing:

array('label' => 'My header', 'htmlOptions' => array('class' => 'my-header-class'))

Personally I prefer the syntax as it is now because it is more simple.