app/views/attachments/_form.html.haml in wheels-0.0.30 vs app/views/attachments/_form.html.haml in wheels-0.0.31
- old
+ new
@@ -3,11 +3,9 @@
%h2= "#{pluralize(resource.errors.count, "error")} prohibited this image from being saved:"
%ul
- resource.errors.full_messages.each do |msg|
%li= msg
-!= S3Provider.new(:key=>"attachments/#{current_user.id}").form_fields
-
= form_for [@page, Attachment.new(:page=>@page)], :remote=>true, :html=>{:multipart=>true, :id=>"upload_form"} do |f|
= f.file_field :file, :id=>"file_input"
= f.hidden_field :file_file_name, :id=>"file_file_name_input"
= f.hidden_field :file_file_size, :id=>"file_file_size_input"
= f.hidden_field :file_content_type, :id=>"file_content_type_input"