<%= _("Currently this article has the following resources")%>

<% for resource in @article.resources %> <%= link_to_remote "- #{resource.filename}", :url => { :action => "resource_remove", :id => @article.id, :resource_id => resource.id}, :update => 'resources' %>
<% end %>

<%= _("You can associate the following resources")%>

<% for resource in @resources - @article.resources %> <%= link_to_remote "+ #{resource.filename}", :url => { :action => "resource_add", :id => @article.id, :resource_id => resource.id}, :update => 'resources' %>
<% end %>