Fixed view typo passing state parameters to layout

View doesn't appear to be passing state and total values through to the template, appears to be a typo