%table.list#invoices_list
  %tr
    %th= t_attr :title
    %th= t_attr :customer
    %th= t_attr :amount
    %th.action-links

  = render @invoices

  %tr
    %th{:colspan => "5", :style => "text-align: right"}= will_paginate @invoices

%table.list#invoices_list
  %tr
    %th= t_attr :title, Invoice
    %th= t_attr :customer, Invoice
    %th= t_attr :amount, Invoice
    %th.action-links

  = render @invoices

  %tr
    %th{:colspan => "5", :style => "text-align: right"}= will_paginate @invoices

Add model to t_attr calls in invoice list as it gets included by customer view.
Add model to t_attr calls in invoice list as it gets included by customer view.
