added multipart option to new photo form. needed to remove remote true for now.

This commit is contained in:
danielvincent 2010-07-16 21:14:42 -07:00
parent 93fdbae9c5
commit 5637ab2a8e

View file

@ -1,4 +1,4 @@
= form_for Photo.new, :remote => true do |f|
= form_for Photo.new, :html => {:multipart => true} do |f|
= f.error_messages
%p
= f.file_field :image