将此文件引入我的资源库

<% if error == '403' %>
您没有权限引用此资源
<% else %>
<%= form_tag attach_relations_path, method: :post, remote: true, id: "relation_file_form" do %> <%= hidden_field_tag(:file_id, file.id) %> <%= content_tag('div', projects_check_box_tags('projects[project][]', User.current.projects,project,file), :id => 'projects', :class => "hidden")%> 引  用取  消 <% end -%>
<% end %>