Sha256: 051994051dca737e9d3ce89d5f442ba28a549230415103b9581e9d55ad7ab6ac
Contents?: true
Size: 1.19 KB
Versions: 6
Compression:
Stored size: 1.19 KB
Contents
<%= 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 => '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'), 'refresh' %> <%= link_to Spree.t('actions.cancel'), admin_product_images_url(@product), :id => 'cancel_link', :class => 'button remove' %> </div> </fieldset> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems