Attempt to use for each in view