Moving the logic in snapshot view partial into a view helper.