Closed milushov closed 12 years ago
looks like you are trying to code those templates as haml templates, but they are underscore jst templates.
To understand jst templates read over the underscore docs at http://underscorejs.org/#template
for example '= artist' should become <%= artist %>
No, if i write <%= artist %>
i get: & lt;%= artist %& gt;
And I use 'haml_coffee_assets' gem.
Hurray! I found it! Should to write = @artist
lol
I don't understand what i doing wrong, it seems everything is working well, but for some reason the template gets [object HTMLDivElement] HELP! I already broke my brain! View and template