Change $view->set -> $view['attr']