T
Taneal Bhandari
I have the following link_to_remote statement that I need to convert
into an <a href> tag, but can't figure it out. I looked at the
rubyonrails api page and did a google search, but they don't have any
examples similar to mine where I can figure it out. Here's my
statement:
<%= link_to_remote tag.name,
:url => {:action => "tag_selector", :id => @order.id},
:html => {:id => tag.id, :class => "tag"},
:with => "'tag=" + tag.id.to_s + "'"%>
into an <a href> tag, but can't figure it out. I looked at the
rubyonrails api page and did a google search, but they don't have any
examples similar to mine where I can figure it out. Here's my
statement:
<%= link_to_remote tag.name,
:url => {:action => "tag_selector", :id => @order.id},
:html => {:id => tag.id, :class => "tag"},
:with => "'tag=" + tag.id.to_s + "'"%>