Displaying 1 result from an estimated 1 matches for "create_exampl".
Did you mean:
create_example
2006 Apr 15
0
form_for, partials, and rjs
...remote and get another set of identical fields to fill before
sending. This would mean he/she could add ex. more than one record in
the same form.
The original form was rendered with form_for and using a partial:
<% form_for :example, @example, :url => example_url(:action =>
''create_example'') do |f| %>
<%= render :partial => ''shared/forms/example'', :locals => {:f => f} %>
<% end %>
And Im having so much fun with form_for that Id like to continue using
it.
But how can I add the partial in a rjs template without adding <form>...