.page-header
  %h1= t_title

%ul.tabs
  %li.active= link_to 'Kontakte', '#contacts-tab'
  %li= link_to 'Rechnungen', '#invoices-tab'

.tab-content
  #contacts-tab.active= render 'list', :records => @people
  #invoices-tab= render 'list', :records => @invoices

.page-header
  %h1= t_title

%ul.tabs
  %li.active= link_to "Kontakte (#{@people.count})", '#contacts-tab'
  %li= link_to "Rechnungen (#{@invoices.count})", '#invoices-tab'

.tab-content
  #contacts-tab.active= render 'list', :records => @people
  #invoices-tab= render 'list', :records => @invoices

Include count in tab handles for global search results.
Include count in tab handles for global search results.
