Sha256: 6869dc7c366444e1cd2b3b556d04a5b1456666a3922f0bdfc332d6a892c0d2f3
Contents?: true
Size: 734 Bytes
Versions: 15
Compression:
Stored size: 734 Bytes
Contents
<%= render :partial => 'admin/shared/product_sub_menu' %> <%= render :partial => 'admin/shared/product_tabs', :locals => {:current => "Images"} %> <%= error_messages_for :image %> <% form_for(:image, :url => admin_product_image_url(@product), :html => { :method => :put, :multipart => true }) do |f| %> <table class="basic-table"> <tr> <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"> <%= button t("update") %> or <%= link_to t("cancel"), admin_product_images_url(@product), :id => "cancel_link" %> </p> <% end %>
Version data entries
15 entries across 15 versions & 2 rubygems