<%= link_to h( article.title ), admin_article_path(article) %> |
<%= content_status(article) %> |
<%= article.author %> |
<%= article.editor %> |
<%= article.updated_at.strftime('%d %b') %> |
<%= article.created_at.strftime('%d %b') %> |
<%= article.published_at.strftime('%d %b') unless article.published_at.nil? %> |
<%= article.published_to.strftime('%d %b') unless article.published_to.nil? %> |
<%= link_to 'Show', article_url(article), :class => 'show' if article.published? %> |
<%= link_to 'Edit', admin_article_path(article), :class => 'edit' %> |
<%= link_to 'Destroy', admin_article_path(article), :confirm => 'Are you sure?', :method => :delete, :class => 'delete' %> |
<% end %>