The error isn’t in the Haml, it’s in your Ruby where you create the array:

[:name => "The Big Lebowski", url =>
"http://t3.gstatic.com/images?q=tbn:ANd9GcRBYp315X-0pNvI-Dvqj8FR0AGdF39VCprXpurd0cQel__e17CP";
]]

should be

    :url => "http://...

The “url” here:

     .img{ :style => "background-image: url('#{movie['url']}');" }

is just a string and doesn’t affect anything.


Matt

--
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/haml.
For more options, visit https://groups.google.com/d/optout.

Reply via email to