Fix title in reports

This commit is contained in:
Niko Strijbol 2019-06-07 14:37:17 +02:00
parent 9227a7327d
commit 3e8c404923
No known key found for this signature in database
GPG key ID: 1A8AEBABD9012251

View file

@ -3,9 +3,9 @@ narrow_page: true
--- ---
<%= render '/partials/_about_sub_navbar.*', selected: 'verslagen' %> <%= render '/partials/_about_sub_navbar.*', selected: 'verslagen' %>
<h1 class="title is-1 has-text-centered">Reports</h1>
<div class="content"> <div class="content">
<h1>Reports</h1>
<% reports.group_by {|r| r[:academic_year]}.each do |year, y_reports| %> <% reports.group_by {|r| r[:academic_year]}.each do |year, y_reports| %>
<h2><%= year %></h2> <h2><%= year %></h2>
<% y_reports.each do |report| %> <% y_reports.each do |report| %>