add $attribute to use the widget in ActiveForm

<?= $form->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')]
            ],
        ],
    ]) ?>
add .idea to ignore for phpstorm
Merge pull request #5 from brewing/master

add $attribute to XcodeSelect to use it in a form field