To pass variable to login view I use:
$this->render('login', array('model' => $model));
But I also need acces this variable in template part footer.php:
I try this:
$this->render('footer', array('model' => $model));
But when in footer.php I try acces variable I get error "undefined variable"
What is wrong ?