Shows a particular model.
{
if (isset($_GET['email'], $_GET['activkey'])) {
if (($userChangePasswordData = Yii::app()->user->getState('UserChangePassword')) != null) {
$model->attributes = $userChangePasswordData['attributes'];
foreach ($userChangePasswordData['errors'] as $attribute => $errors) {
foreach ($errors as $e) {
$model->addError($attribute, $e);
}
}
Yii::app()->user->setState('UserChangePassword', null);
}
$this->render('UserRecoveryPasswordChangeWidget', array('model' => $model, 'email' => $_GET['email'], 'activkey' => $_GET['activkey']));
return;
}
$this->render('UserRecoveryPasswordChangeWidget');
}