converted ERB to HAML