changing the layouts to haml