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