📄 _show_resources.rhtml
字号:
<h4><%= _("Currently this article has the following resources")%></h4> <% for resource in @article.resources %> <%= link_to_remote "- #{resource.filename}", :url => { :action => "resource_remove", :id => @article.id, :resource_id => resource.id}, :update => 'resources' %><br/> <% end %> <h4><%= _("You can associate the following resources")%></h4> <% for resource in @resources - @article.resources %> <%= link_to_remote "+ #{resource.filename}", :url => { :action => "resource_add", :id => @article.id, :resource_id => resource.id}, :update => 'resources' %><br/> <% end %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -