<%= fields_for "ad_banner[existing_ad_images][#{ad_image.id}]", ad_image do |f| %> <%= image_tag ad_image.file %>
Destroy?<%= f.check_box :to_destroy %> <%= render :partial => "ad_image_form", :locals => { :f => f } %>
<% end %>