Sha256: 57d81bc1ca57f1c53298f92c7989bdc660b114d178e3fe9c4257c7fe36affc7b
Contents?: true
Size: 848 Bytes
Versions: 4
Compression:
Stored size: 848 Bytes
Contents
<tr id="<%= spree_dom_id image %>" data-hook="images_row" class="<%= cycle('odd', 'even')%>"> <td class="no-border"> <% if can?(:update_positions, Spree::Image) %> <span class="handle"></span> <% end %> </td> <td> <%= link_to image_tag(image.attachment.url(:mini)), image.attachment.url(:product) %> </td> <% if @product.has_variants? %> <td><%= options_text_for(image) %></td> <% end %> <td><%= image.alt %></td> <td class="actions"> <% if can?(:update, image) %> <%= link_to_with_icon 'edit', Spree.t('actions.edit'), edit_admin_product_image_url(@product, image), :no_text => true, :data => {:action => 'edit'} %> <% end %> <% if can?(:destroy, image) %> <%= link_to_delete image, { :url => admin_product_image_url(@product, image), :no_text => true } %> <% end %> </td> </tr>
Version data entries
4 entries across 4 versions & 1 rubygems