hi,
i'm trying to render this html:
<a class="big_button" title="clear" href="cart/clear">
<span>clear cart !
<img alt="arrow" src="img/clear.png"/>
</span>
</a>
the best i can do is:
<%= link_to content_tag(:span, image_tag("img/clear.png", :alt =>
'arrow')), clear_cart_path, :class => "big_button", :title => "clear"
-%>
any ideas???
cheers.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---