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

<%= yield(:phc_title) %>

<% @list_items.each do |list_item| %> <% end %>
Item Headline Text Preview
<%= list_item.list_item_title %> <%= truncate(list_item.list_item_text, :length => 80, :escape => false) %>
<%= link_to "Update Item", edit_list_post_item_path(list_item.post, list_item), class: "btn btn-primary btn-xs" %> <%= link_to "Remove Item", list_post_item_path(list_item.post, list_item), method: :delete, data: { confirm: "Are you sure? This Action Cannot be Reversed." }, class: "btn btn-danger btn-xs" %>
<%= link_to phcdevworks_press.new_list_post_item_path, class: "btn btn-primary" do %> <%= "Add a New List Item" %> <% end %>