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

<%= yield(:phc_title) %>

<% @list_posts.each do |list_post| %> <% end %>
List Headline Text Preview List Status
<%= list_post.list_post_title %> <%= truncate(list_post.list_post_text, :length => 80, :escape => false) %> <%= list_post.list_post_status.capitalize %>
<%= link_to "List Details", list_post_path(list_post), class: "btn btn-primary btn-xs" %> <%= link_to "Update List", edit_list_post_path(list_post), class: "btn btn-primary btn-xs" %> <%= link_to "Remove List", list_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure?" } %>
<%= link_to phcdevworks_press.new_list_post_path, class: "btn btn-primary" do %> <%= "Add a New Top List" %> <% end %>