convert layout from erb to haml