added multipart option to new photo form. needed to remove remote true for now.
This commit is contained in:
parent
93fdbae9c5
commit
5637ab2a8e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue