Convert failing Haml template to ERB