<%- dom_id = dom_id(asset) -%> <%- delete_link = %{ :papermill, :resource => asset.name)}')){ $.ajax({async:true, beforeSend:function(request){$('##{dom_id}').hide();}, dataType:'script', error:function(request){$('##{dom_id}').show();}, type:'delete', url:'#{papermill_url(asset)}'})}; return false;" href="#" class="delete"> "papermill", :ressource => asset.name)}" src="/images/papermill/delete.png" alt="delete"/>} %>
  • "papermill", :ressource => asset.name) %>"> <%= 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 -%>