<div style="margin-left:60px; margin-right:60px;">
  <h2>Zestawienie dotacji</h2>
    <% dotations.each do |dotation| %>
    <div>
      <%= render '/home/dotation_card', dotation: dotation %>
      <hr />
    </div>
    <% end %>
    <% dotations.each do |dotation| %>
    <p style='page-break-after:always;'>
      <h3 class="text-right" style="font-size: 1.9rem;"><strong><%= dotation.name %></strong></h3>
      <%= render '/home/show', dotation: dotation, company_sizes: company_sizes %>
      </div>
    </p>
    <% end %>
</div>
