<%=h item.state %> <%=h item.class %> <%= link_to_article_edit item.article %> <%=h (item.author || '(unknown)').slice(0,40) %>
<% if item.url -%> <%= link_to h(truncate(item.url.to_s)), item.url %>
<% end -%> <%=h item.email.to_s.slice(0,40) %> <%=h truncate(item.body,80)%> <%=h item.ip %> <%=h distance_of_time_in_words_to_now(item.created_at) %> ago <%= link_to image_tag('delete.png'), {:action => 'delete', :id => item.id, :search => params[:search], :page => params[:page] }, :confirm => "Are you sure?", :method => :post %>