%table.table.table-striped.esr_files.collection
  %thead
    %tr   
      %th= t_attr :updated_at, EsrFile
      %th.right= t_attr :bookings, EsrFile
      %th.right= t_attr :invalid_bookings, EsrFile
      %th.right= t_attr :missing_bookings, EsrFile
      %th.right= t_attr :total_amount, EsrFile
      %th.action-links
  %tbody
    = render @esr_files

  %tfoot
    %tr#invoices_list_footer
      %th{:colspan => 5}= will_paginate @esr_files, :params => {:query => params[:query]}

%table.table.table-striped.esr_files.collection
  %thead
    %tr   
      %th= t_attr :updated_at, EsrFile
      %th.right= t_attr :bookings, EsrFile
      %th.right= t_attr :invalid_bookings, EsrFile
      %th.right= t_attr :missing_bookings, EsrFile
      %th.right= t_attr :total_amount, EsrFile
      %th.action-links
  %tbody
    = render @esr_files

Drop pagination footer from esr_files/list.
Drop pagination footer from esr_files/list.
