mailr/app/views/contacts/_list.html.haml

14 lines
312 B
Plaintext
Raw Normal View History

2012-03-30 19:31:23 +02:00
= will_paginate @contacts
%table{:class=>"table table-bordered records"}
%thead
%tr
%th
%input{:id=>"toggleall",:type=>"checkbox",:name=>"allbox"}
= raw contacts_table_header
%tbody
- @contacts.each do |c|
= render :partial => 'contact', :locals => {:contact => c}
= will_paginate @contacts