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

<%= yield(:phc_title) %>

<%= yield(:phc_title_tagline) %>

<% @tutorial_steps.each do |tutorial_step| %> <% end %>
Tutorial Step Number Tutorial Step Title
<%= tutorial_step.tutorial_step_number %> <%= tutorial_step.tutorial_step_title %>
<%= link_to 'Show', tutorial_post_step_path(tutorial_step.post, tutorial_step), class: "btn btn-purple btn-xs" %> <%= link_to 'Update', edit_tutorial_post_step_path(tutorial_step.post, tutorial_step), class: "btn btn-primary btn-xs" %> <%= link_to "Update", edit_tutorial_post_path(tutorial_post) %> <%= link_to 'Destroy', tutorial_post_step_path(tutorial_step.post, tutorial_step), 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_step_path, class: "btn btn-primary btn-sm" do %> Add a New Step for Tutorial <% end %>