% content_for :page_title do %>
Ruby on Rails Guides
<% end %>
Table of Contents
<% documents_by_section.each_with_index do |section, i| %>
<%= "#{i + 1}." %> <%= section['name'] %>
<% section['documents'].each do |document| %>
-
<%= document['name'] %>
<% if document['work_in_progress']%>(WIP)<% end %>
<% end %>
<% end %>