<%- dom_id = "papermill_asset_#{asset.id}" -%> <%- delete_link = %{ asset.name)}')){ jQuery.ajax({async:true, dataType:'script', type:'delete', url:'#{papermill_url(asset)}'})}; return false;" href="#" class="delete"> asset.name)}" src="/papermill/images/delete.png" alt="delete"/>} %>
asset.name) %>" onDblClick="popup(jQuery(this).attr('rel')); return false;" rel="<%= edit_papermill_url(asset, :targetted_size => targetted_size) %>"> <%= delete_link %> <%- if thumbnail_style -%> <%= render :partial => "papermill/thumbnail_asset", :object => asset, :locals => {:thumbnail_style => thumbnail_style} %> <%- else -%> <%= render :partial => "papermill/raw_asset", :object => asset %> <%- end -%>