2016-11-01 19:57:09 +01:00
|
|
|
<div class="content">
|
2018-02-25 20:29:35 +01:00
|
|
|
<h1>Reports</h1>
|
|
|
|
<% reports.group_by {|r| r[:academic_year]}.each do |year, y_reports| %>
|
|
|
|
<h2><%= year %></h2>
|
|
|
|
<% y_reports.each do |report| %>
|
|
|
|
<a href="<%= report.identifier.without_ext + '.pdf' %>">Report <%= report[:date].strftime('%d %B %Y') %></a><br>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
2016-11-01 19:57:09 +01:00
|
|
|
</div>
|