<% if @batches.length > 0 %>
  <table class="table table-striped table-bordered">
    <thead>
      <tr>
        <th>Name</th>
        <th>Created</th>
        <th>Total Contributions</th>
      </tr>
    </thead>
    <tbody>
      <% @batches.each do |batch| %>
        <tr>
          <td><%= link_to batch.title, batch_path(batch) %></td>
          <td><%= batch.created_at_string %></td>
          <td><%= number_to_currency(batch.total_contributions) %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
  <%= will_paginate @batches %>
<% end %>

<% if @batches.length > 0 %>
  <table class="table table-striped table-bordered">
    <thead>
      <tr>
        <th>Name</th>
        <th>Created</th>
        <th>Total Contributions</th>
      </tr>
    </thead>
    <tbody>
      <% @batches.each do |batch| %>
        <tr>
          <td><%= link_to batch.title, batch_contributions_path(batch) %></td>
          <td><%= batch.created_at_string %></td>
          <td><%= number_to_currency(batch.total_contributions) %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
  <%= will_paginate @batches %>
<% end %>

Update batches/_batches partial to reflect batch contributions change
Update batches/_batches partial to reflect batch contributions change
