<% phc_title "Article Manager" %> <% phc_title_tagline "Article Index" %> <% phc_breadcrumb_one yield(:phc_title) %> <% phc_breadcrumb_two yield(:phc_title_tagline) %>

<%= yield(:phc_title) %>

<%= yield(:phc_title_tagline) %>

<% @article_posts.each do |article_post| %> <% end %>
Post Headline Post Preview Post Status
<%= article_post.post_title %> <%= truncate(article_post.post_text, :length => 80, :escape => false) %> <%= article_post.post_status.capitalize %>
<%= link_to 'Update Post', edit_article_post_path(article_post), class: "btn btn-primary btn-xs" %> <%= link_to 'Remove Post', article_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>
<%= link_to phcdevworks_press.new_article_post_path, class: "btn btn-primary" do %> <%= "Add a New Article Post" %> <% end %>