Sha256: fc02a52da30b378f322f13799ecd42404f658e37f40c47c69f8e3d8fc1f59d1a
Contents?: true
Size: 711 Bytes
Versions: 1
Compression:
Stored size: 711 Bytes
Contents
<li id="<%= image.id %>" class='image'> <span class='image_asset_holder'> <%= image_tag(image.file.url(:preview)) %> <%= link_to 'Delete', transit.package_asset_path(image.id), :method => :delete, :remote => true, :confirm => "Are you sure you want to delete this image?\n\nNOTE: Make sure you remove this image from your copy if you've used it.\n\n", :class => 'icon_delete', :title => 'Delete Image' %> </span> <span class='add_heading'>Add to copy</span> <ul class='image_style_list'> <% image.file.styles.keys.map(&:to_s).each do |style| %> <% next if style == 'preview' %> <li><%= link_to style.titleize, image.file.url(style), :class => "insert_image_link" %></li> <% end %> </ul> </li>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
transit-0.0.2 | app/views/transit/assets/_image.html.erb |