Convert layout to haml from erb