<% phc_title "Tutorial Post Manager" %> <% phc_title_tagline "Tutorial Index" %> <% phc_breadcrumb_one yield(:phc_title_tagline) %> <% phc_breadcrumb_two link_to "Tutorial Index", phcdevworks_tutorials.tutorial_posts_path %>

<%= yield(:phc_title) %>

<% @tutorial_posts.each do |tutorial_post| %> <% end %>
Tutorial Title Tutorial Description Tutorial Status
<%= tutorial_post.tutorial_post_title %> <%= tutorial_post.tutorial_post_description %> <%= tutorial_post.tutorial_post_status %>
<%= link_to "Tutorial Details", tutorial_post, class: "btn btn-purple btn-xs" %> <%= link_to "Update Tutorial", edit_tutorial_post_path(tutorial_post), class: "btn btn-primary btn-xs" %> <%= link_to "Remove Tutorial", tutorial_post, method: :delete, data: { confirm: "Are you sure? This action cannot be reversed." }, class: "btn btn-danger btn-xs" %>
<%= link_to phcdevworks_tutorials.new_tutorial_post_path, class: "btn btn-primary btn-sm" do %> Add a New Tutorial <% end %>