I have this form and i got it working as i want:

<%= form_tag(update_individual_photos_path, :method => "put") do %>

<%= fields_for "photos[]", @photo do |f| %>
       .................
<% end -%>
<%= submit_tag("Post") %>
<% end %>

But i would like to move to doing this with simple_form_for and
simple_fields_for but i cant get it working. Looks like
simple_fields_for cant work with "photos[]", @photo ?

Is it possible to call Simple_Fields_For with the same syntax as
Fields_For ?

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to