Help with halm

Hi,

How to transform this piece of code in haml

  • <%= image_tag(“book_picture.png”, :border => 0) %>Relatórios

    • G: Relatório PCS

    • I tried to something but is wrong, does not accept image_tag

      %li

      %a{:hreft => “#”}Relatorios

      = image_tag(“book_picture.png”)

      %ul

      %li

  • Try putting Relatorios in a new line

    My problem is with the image_tag

    Some test I could do so

    %a{:href =>“/indeces”} Indeces

    Hi,

    You can use this to convert your html or erb code to haml.

    http://html2haml.heroku.com/

    image_tag is an asset tag helper so might be on your setup or some error on the file/filename for haml not to recognized it.