modeling view as a haml