Displaying 1 result from an estimated 1 matches for "example_url".
Did you mean:
example_r
2006 Apr 15
0
form_for, partials, and rjs
...a form and optionally hit a
link_to_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 rj...