for the ERB:
<div class='item' id='item<%= item.id %>'>
  <%= item.body %>
</div>

tutorial gives the HAML:
.item{:id => "item#{item.id}"}= item.body


but this code may includes a difference in 'id' value ?
i think the right code should be:
.item{:id => "item#item{item.id}"}= item.body


-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
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.

Reply via email to