Sha256: 8f8294f0d3c7cdbd6caad9c31f2215452eb3487be92da711b1a5481e1b481d93
Contents?: true
Size: 915 Bytes
Versions: 6
Compression:
Stored size: 915 Bytes
Contents
<%- dom_id = "#{field_id}_papermill_asset_#{asset.id}" -%> <%- delete_link = %{<a onclick="$('##{dom_id}').remove(); return false;" href="#" class="delete"><img title="#{escape_javascript t("papermill.delete", :resource => asset.name)}" src="/papermill/images/delete.png" alt="delete"/></a>} %> <div id="<%= dom_id %>" class="asset" title="<%= t("papermill.#{(thumbnail_style) ? "thumbnail-" : ""}edit-title", :resource => 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 -%> <%= hidden_field_tag field_name, asset.id.to_s, :id => nil %> </div>
Version data entries
6 entries across 6 versions & 1 rubygems