'yii/form' asset bundle returned to the ActiveForm.

This commit is contained in:
resurtm
2013-05-16 00:07:50 +06:00
parent 60e574a68d
commit 19a74c015c

View File

@@ -135,6 +135,7 @@ class ActiveForm extends Widget
$options = Json::encode($this->getClientOptions());
$attributes = Json::encode($this->attributes);
$this->view->registerJs("jQuery('#$id').yiiActiveForm($attributes, $options);");
$this->view->registerAssetBundle('yii/form');
}
echo Html::endForm();
}