Convert erb to haml in layout