<!doctype html>
<html>
  <head>
    <meta charset='utf-8' />
</head>
<body onload='number_pages'>
  <div id="content">
    <h2>Zestawienie dotacji</h2>
    <% @dotations.each do |dotation| %>
    <div>
      <%= render 'dotation_card', dotation: dotation %>
      <hr />
    </div>
    <% end %>
    <% @dotations.each do |dotation| %>
    <p style='page-break-after:always;'>
      <h3 class="card-title" style="font-size: 1.9rem;"><strong><%= dotation.name %></strong></h3>
      <%= render 'show', dotation: dotation %>
    </p>
    <% end %>
  </div>
</body>
</html>
