<h1>Auswertung <%= session[:reporting_period] %></h1>

<%= render 'gen_info' %>
  <br />

<a name="top"></a>
<h2 style="font-size: larger">Spezifische Informationen</h2>
<% for table in @tables  %>
  <a href="#<%= table.first %>"><%= table.first %></a>
  <br />
<% end %>

<% for table in @tables %>
  <a name="<%= table.first %>"></a>
  <h3><%=  table.first %></h3>
  <%= render(:partial => 'table', :locals => {:data => table.last}) %>
  <a href="#top">Nach oben springen</a>
  <br />
<% end %>
