% phc_title "Article Manager" %> <% phc_title_tagline "Article Index" %>
Post Headline | Post Preview | Post Status | |
---|---|---|---|
<%= articles_post.psttitle %> | <%= truncate(articles_post.psttext, :length => 80, :escape => false) %> | <%= articles_post.pststatus %> |
<%= link_to 'Edit Post', edit_articles_post_path(articles_post), class: "btn btn-primary btn-xs" %>
<%= link_to 'Trash Post', articles_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>
|