Sha256: ba7b910e14612ee7b8fab5f76143d729254edefc6678084bb1dc01a779d10a74
Contents?: true
Size: 838 Bytes
Versions: 28
Compression:
Stored size: 838 Bytes
Contents
<%= render :partial => 'spree/admin/shared/product_sub_menu' %> <%= render :partial => 'spree/admin/shared/product_tabs', :locals => { :current => 'Images' } %> <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @image } %> <%= form_for [:admin, @product, @image], :html => { :multipart => true } do |f| %> <table class="basic-table" data-hook="edit_image"> <tr data-hook="thumbnail"> <td><%= t(:thumbnail) %>:</td> <td><%= link_to image_tag(@image.attachment.url(:mini)), @image.attachment.url(:product) %></td> </tr> <%= render :partial => 'form', :locals => { :f => f } %> </table> <p class="form-buttons" data-hook="buttons"> <%= button t(:update) %> <%= t(:or) %> <%= link_to t(:cancel), admin_product_images_url(@product), :id => 'cancel_link' %> </p> <% end %>
Version data entries
28 entries across 28 versions & 1 rubygems