%- 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"/>} %>