Detail View

Yii detail view with Bootstrap looks

Basic example of usage is this:

First nameMark
Last nameOtto
LanguageCSS
$this->widget(
    'booster.widgets.TbDetailView',
    array(
        'data' => array(
            'id' => 1,
            'firstName' => 'Mark',
            'lastName' => 'Otto',
            'language' => 'CSS'
        ),
        'attributes' => array(
            array('name' => 'firstName', 'label' => 'First name'),
            array('name' => 'lastName', 'label' => 'Last name'),
            array('name' => 'language', 'label' => 'Language'),
        ),
    )
);

Here's all configuration properties which you can set for TbDetailView widget.

Property Description
type name = default description