%= render :partial => 'blog/admin/shared/post_tabs', :locals => {:current => "Images"} %>
<%= t("thumbnail") %> | <%= t("action") %> |
---|---|
<%= link_to(image_tag(image.attachment.url(:mini)), image.attachment.url(:large)) %> | <%= link_to_with_icon('edit', t("edit"), edit_admin_post_image_url(@post, image)) %> <%= link_to_delete image, {:url => admin_post_image_url(@post, image) }%> |
<%= link_to icon('add') + ' ' + t("new_image"), new_admin_post_image_url(@post), :id => "new_image_link" %>
<% content_for :head do %> <% end %>