Sha256: fce85e3be015e03f990e9ceba9b986e100e5e8fde66621b3a0e7855552bc0178
Contents?: true
Size: 1.32 KB
Versions: 30
Compression:
Stored size: 1.32 KB
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 } %> <% content_for :page_actions do %> <li><%= button_link_to Spree.t(:back_to_images_list), admin_product_images_url(@product), :icon => 'icon-arrow-left' %></li> <% end %> <%= form_for [:admin, @product, @image], :html => { :multipart => true } do |f| %> <fieldset data-hook="edit_image"> <legend align="center"><%= @image.attachment_file_name%></legend> <div data-hook="thumbnail" class="field alpha three columns align-center"> <%= f.label Spree.t(:thumbnail) %><br> <%= link_to image_tag(@image.attachment.url(:small)), @image.attachment.url(:product) %> </div> <div class="nine columns omega"> <%= render :partial => 'form', :locals => { :f => f } %> </div> <div class="clear"></div> <div class="form-buttons filter-actions actions" data-hook="buttons"> <%= button Spree.t('actions.update'), 'icon-refresh' %> <span class="or"><%= Spree.t(:or) %></span> <%= link_to Spree.t('actions.cancel'), admin_product_images_url(@product), :id => 'cancel_link', :class => 'button icon-remove' %> </div> </fieldset> <% end %>
Version data entries
30 entries across 30 versions & 1 rubygems