I\'m building an application using Backbone.js, Underscore.js, HAML, and Coffeescript.
The problem I\'m having is getting variables to interpolate inside of html ele
It looks like you aren't closing the function in the template properly ( try adding <% }); %>
to the end of your template).
I'm not really familiar with HAML syntax but here's a simple example on jsfiddle using plain HTML and an underscore template. As you can see you can definitely use interpolation in middle of an elements attributes.