Converted ERB to HAML