上传资源

<%= error_messages_for 'attachment' %> <%= form_tag(course_files_path(course), :multipart => true,:remote => !ie8?,:name=>"upload_form") do %>
<%= render :partial => 'files/new_style_attachment_list',:locals => {:container => course} %>
<% if User.current.allowed_to?(:as_teacher,course) %>
<% end %>
确定 取消
<% end %>
<% content_for :header_tags do %> <%= javascript_include_tag 'attachments' %> <% end %>