<%#= javascript_include_tag 'bootstrap'%> <%#= stylesheet_link_tag 'project' %> <%#= stylesheet_link_tag 'leftside' %> <%#= javascript_include_tag 'attachments'%>
<%= form_tag( url_for(:controller => 'users', :action => 'resource_search', :id => User.current.id), :remote => true , :method => 'get', :class => 'resourcesSearchloadBox mt10', :id => 'resource_search_form') do %> <%= hidden_field_tag(:type,type.nil? ? 1 : type) %> <%= submit_tag '', :class => 'homepageSearchIcon', :onfocus => 'this.blur();', :style => 'border-style:none' %> <% end %>
<% @attachments.each do |attach| %>
  • <%= format_date(attach.created_on) %>
  • <%= attach.id %>
  • <%= attach.author_id %>
  • <%= get_resource_type(attach.container_type)%>
  • <%= attach.id %>
  • <%= number_to_human_size(attach.filesize) %>
  • <%= attach.id %>
  • <%= attach.id %>
<% end %>
全选 删除
选择 0 个资源
选用资源库中的资源
公共资源 我的资源 <%= form_tag( url_for(:controller => 'users', :action => 'resource_search', :id => User.current.id), :remote => true , :method => 'get', :class => 'resourcesSearchloadBox mt10', :id => 'resource_search_form') do %> <%= hidden_field_tag(:type,type.nil? ? 1 : type) %> <%= submit_tag '', :class => 'homepageSearchIcon', :onfocus => 'this.blur();', :style => 'border-style:none' %> <% end %>
  • 类别
  • 大小
  • 上传者
  • 上传时间
<% @attachments.each do |attach| %>
  • <%= get_resource_type(attach.container_type)%>
  • <%= number_to_human_size(attach.filesize) %>
  • <%= format_date(attach.created_on) %>
<% end %>
  • 课程资源
  • 123.0KB
  • 尹刚
  • 2016-01-21
  • 项目资源
  • 123.0KB
  • 尹刚
  • 2016-01-21
  • 附件
  • 123.0KB
  • 尹刚
  • 2016-01-21
  • 课程资源
  • 123.0KB
  • 尹刚
  • 2016-01-21
  • 课程资源
  • 123.0KB
  • 尹刚
  • 2016-01-21
  • 课程资源
  • 123.0KB
  • 尹刚
  • 2016-01-21
  • 课程资源
  • 123.0KB
  • 尹刚
  • 2016-01-21
  • 课程资源
  • 123.0KB
  • 尹刚
  • 2016-01-21
  • 课程资源
  • 123.0KB
  • 尹刚
  • 2016-01-21
  • 课程资源
  • 123.0KB
  • 尹刚
  • 2016-01-21