Editable Detail View

A drop-in replacement for forms

This is the usual CDetailView enhanced with capabilities to edit each of the displayed attributes.

Basic example of usage is this:

Country codeCA
NameAlberta
$this->widget(
    'booster.widgets.TbEditableDetailView',
    array(
        'id' => 'region-details',
        'data' => $model,
        'url' => $endpoint,
        'attributes' => array(
            'country_code',
            'name',
        )
    )
);

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

Property Description
type name = default description