- form_for [:admin, @auction] do |f| = render f = f.submit 'Update auction' %h2 Images - form_for [:admin, @auction, Image.new], :html => {:multipart => true} do |f| = f.file_field :image = f.text_field :name = f.submit 'Add image' %ul#images = render @auction.images