Sha256: 8ad296dcbce847be1f0e1836b4c2a143e1207f9f036997649b78ca7608ae7174
Contents?: true
Size: 776 Bytes
Versions: 4
Compression:
Stored size: 776 Bytes
Contents
<%= render :partial => 'admin/shared/contents_sub_menu' %> <%= render :partial => 'admin/shared/page_tabs', :locals => {:current => "Images"} %> <% if @page_image.try(:errors).present? %> <%= render 'shared/error_messages', :target => @page_image %> <% end %> <%= form_for([:admin, @page.id, @page_image], :url => admin_page_image_url(@page, @page_image), :html => { :multipart => true }) do |f| %> <p> <%= label_tag ("thumbnail") %>:<br/> <%= link_to(image_tag(@page_image.attachment.url(:mini)), @page_image.attachment.url(:product)) %> </p> <%= render "form", :form => f %> </table> <p class="form-buttons"> <%= button t("update") %> or <%= link_to t("cancel"), admin_page_images_url(@page), :id => "cancel_link" %> </p> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems