Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="upload_frame">
- <% form_remote_tag (:update => 'upload_frame',
- :url => {:action => 'upload_file'},
- :html => {:multipart => true, :id => "upload_form"},
- :loading => "Element.show('spinner');",
- :complete => "Element.hide('spinner')") do -%>
- <%= render :partial => "form" %>
- <%= observe_field 'upload_ppt', :function => "$('upload_form').submit()" %>
- <% end %>
- </div>
Add Comment
Please, Sign In to add comment