上传资源

<%= error_messages_for 'attachment' %> <%= form_tag(course_files_path(course), :multipart => true,:remote => true,:method => :post,:name=>"upload_form") do %> <%= render :partial => 'attachement_list',:locals => {:course => course} %>
上传资源取  消 <% end %>
<% content_for :header_tags do %> <%= javascript_include_tag 'attachments' %> <% end %>