Re: Help with halm

Arnaud Augier
Tue, 19 Jun 2012 06:10:18 -0000

Hi,

Try this :

%li
  %a{:href => "#"}
    = image_tag("book_picture.png", :border => 0)
    Relatórios
  %ul
    %li
      %a{:href => "/relatorios/relatorio"} G: Relatório PCS


You can''t use <%= ... %> in haml.

And instead of %a you should use ruby helpers.

Arnaud Augier

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To view this discussion on the web visit