<% phc_title "Command Lists Manager" %> <% phc_title_tagline "Command List Index" %> <% phc_breadcrumb_one "Home" %> <% phc_breadcrumb_two link_to "Command List Index", phcdevworks_tutorials.command_posts_path %>

<%= yield(:phc_title) %>

<% @command_posts.each do |command_post| %> <% end %>
Post title Post description
<%= command_post.post_title %> <%= command_post.post_description %>
<%= link_to "List Details", command_post, class: "btn btn-purple btn-xs" %> <%= link_to "Update List", edit_command_post_path(command_post), class: "btn btn-primary btn-xs" %> <%= link_to "Remove List", command_post, method: :delete, data: { confirm: "Are you sure? This action cannot be reversed." }, class: "btn btn-danger btn-xs" %>
<%= link_to phcdevworks_tutorials.new_command_post_path, class: "btn btn-primary btn-sm" do %> Add a New Command List <% end %>