From 5637ab2a8efc0917430816c4884344b7f2bbf0ac Mon Sep 17 00:00:00 2001 From: danielvincent Date: Fri, 16 Jul 2010 21:14:42 -0700 Subject: [PATCH] added multipart option to new photo form. needed to remove remote true for now. --- app/views/photos/_new_photo.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/photos/_new_photo.haml b/app/views/photos/_new_photo.haml index ef74f51da..945679d5b 100644 --- a/app/views/photos/_new_photo.haml +++ b/app/views/photos/_new_photo.haml @@ -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