To include JS and CSS files in a specific view you can do it via controller by passing the parameters false, true
, which will include the CSS and JS for, e.g.:
$this->renderPartial(
'yourviewname',
array(
'model' => $model,
false,
true
)
);