Transforming some of the HAML to ERB.