So for my new project we are trying to use HAML/backbone.js/underscore.js
templates. After reading the docs, I could figure out something like this:
%script#album-row{ :type => 'text/template' }
.album-row
%a{ :href => '<%= href %>'}
<%= name %>
While templating, "name" is correctly interpolated but I cannot get "href"
to work.
Any thoughts?
--
You received this message because you are subscribed to the Google Groups
"Haml" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/haml/-/sm7PaDPA3YkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.