changed to layout file to haml