<%= t('image') %> | <%= t('action') %> | |
---|---|---|
<%= image_tag image.attachment.url(:small) %> | <%= link_to_remote t('delete'), :url => admin_image_url(image), :method => 'delete', :before => "Element.show('img_busy_indicator')", :complete => "Element.hide('img_busy_indicator')", :confirm => t("are_you_sure_delete_image"), :update => 'image-listing' %> <%= image_tag "spinner.gif", :plugin=>"spree", :style => "display:none", :id => 'img_busy_indicator' %> | |
<%= t('none_available') %>. |
<%= button_link_to_function t("new_image"), "$('new-img-link').hide();$('new-image').show()", :icon => 'add', :id => "new-img-link" %>