You are not correctly displaying the code for the indentation problem in space ... Line numbers will also help. You should have something like this:
- if stream.asset? =image_tag('/images/public_stream_page/overlay_image.png',:onload=>"document.getElementById('dd_mid_right_box_public').style.background='url(#{stream.asset.url(:normal)})';")
The second line is indented with the same number of intervals that you use in the rest of your temple, while perhaps you have one line (the number in the error is not shown) 2 times as many indents.
source share