这是我的代码
<%= link_to_function ("Add another url", :id=> "add_another_url_link_id") do |page|
page.insert_html :bottom ,:add_another_url, :partial =>'add_another_url', :locals => {:object =>Url.new, :url => section}
end%>
在这里,我add_another_url
在add_another_ur div
. 我有一个清单。在行的末尾,我正在显示此链接。当我单击将在行下显示表单的链接时。但是,当我单击仅在第一行下显示表单的链接时。我想显示相应行的表格。(我不知道如何在这个地方使用“this”)
谁能帮我。