A product has many images. I am creating a form that only edits the images of a product.
Here is what I have so far:
<%= form_for(@product, :html => { :multipart => true }) do |f| %>
<%= f.fields_for :images do |i| %>
<% end %>
<% end %>
Is this portion correct?
I need a radio button and file field for each image, how can I do this for each image?
Also this form is only for editing the images not creating them.