<% 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) %>

<%= yield(:phc_title_tagline) %>

<% @tutorial_posts.each do |tutorial_post| %> <% end %>
Tutorial Step Tutorial Title Tutorial Text Tutorial Category
<%= tutorial_post.tutorial_post_step %> <%= tutorial_post.tutorial_post_title %> <%= tutorial_post.tutorial_post_text %> <%= tutorial_post.category.tutorial_category_name %>
<%= link_to 'Details', tutorial_post, class: "btn btn-purple btn-xs" %> <%= link_to 'Update', edit_tutorial_post_path(tutorial_post), class: "btn btn-primary btn-xs" %> <%= link_to 'Remove', 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 %>