Hi there,

The partial is like this:

<p></p>
<div id="group" class="elements">
  <p></p>
  <%= link_to_function 'Add text field' do |page|
  page.insert_html :bottom, :group, :partial => 'text'
  end%>
  <g_title>Text Group #1</g_title>
  <%= render :partial => 'text' %>
</div>

And the code of the insertion is like this:

<%= link_to_function 'Add group' do |page|
page.insert_html :bottom, :groups, :partial => 'group'
end %>

This way, it does not insert the partial. But, if I remove the
"link_to_function", it does insert it!

Any idea of this? :(
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to