replacing erb layout with haml.