Sha256: 1ab105d178f877d84a5a5ba395cdda7903a69641bd769ae9d6918975bd382f36

Contents?: true

Size: 797 Bytes

Versions: 2

Compression:

Stored size: 797 Bytes

Contents

<%= render :partial => 'admin/shared/product_sub_menu' %>

<%= render :partial => 'admin/shared/product_tabs', :locals => {:current => "Images"} %>

<%= render "shared/error_messages", :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

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-0.70.0.rc2 app/views/admin/images/edit.html.erb
spree_core-0.70.RC1 app/views/admin/images/edit.html.erb