[BUGFIX] Assign the same view variables to form and grid
Merge pull request #700 from hmspl/viewVariables

[BUGFIX] Assign the same view variables to form and grid