2016-06-16 14:04:12 +08:00
|
|
|
<p ondblclick=show_edit_file_description('<%= file.id %>')>
|
2016-06-16 14:14:54 +08:00
|
|
|
资源描述:<% if file.description.blank? %><span style="color:#C5C5BE; cursor:pointer;" title="双击可编辑">双击添加描述</span><% else %><span style="cursor:pointer;" title="双击可编辑"><%= file.description %></span><% end %>
|
2016-06-16 14:04:12 +08:00
|
|
|
<%#= file.description.blank? ? "该资源暂无描述" : file.description %>
|
|
|
|
<%= link_to image_tag("../images/signature_edit.png",width:"12px", height: "12px"), "javascript:void(0);", :onclick => "show_edit_file_description("+file.id.to_s+");"%>
|
|
|
|
</p>
|