changed HAML to ERB