Converted from erb to haml