Using .each in the view template