marciocamello/yii2-x-editable — pull request #5 by brewing (2014-04-30 11:04:32+00:00)
Title: add $attribute to XcodeSelect to use it in a form field

field($model, 'status')->widget(\mcms\xeditable\XEditableSelect::className(),[
'model' => $model,
'placement' => 'right',
'pluginOptions' => [
'name' => 'status',
'source'=>[
['value'=>1,
'text'=>Yii::t('app','On')],
['value'=>0,
'text'=>Yii::t('app','Off')]
],
],
]) ?>