<% content_for :title, "Statistics for #{@year} year" %>
<%= render partial: 'stats/year', locals: { year: @year, stats: @stats } %>