Converted erb template to haml