Sha256: 271b09e57b3d34e531337aba49488c85d2721f9d0dbbf318767c5543f839b37d

Contents?: true

Size: 791 Bytes

Versions: 8

Compression:

Stored size: 791 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

8 entries across 8 versions & 1 rubygems

Version Path
spree_core-0.70.7 app/views/admin/images/edit.html.erb
spree_core-0.70.6 app/views/admin/images/edit.html.erb
spree_core-0.70.5 app/views/admin/images/edit.html.erb
spree_core-0.70.4 app/views/admin/images/edit.html.erb
spree_core-0.70.3 app/views/admin/images/edit.html.erb
spree_core-0.70.2 app/views/admin/images/edit.html.erb
spree_core-0.70.1 app/views/admin/images/edit.html.erb
spree_core-0.70.0 app/views/admin/images/edit.html.erb