Fixed the view variable for loading page forms