2011-08-16 20:05:58 +02:00
|
|
|
|
|
|
|
<div class="inner">
|
|
|
|
|
|
|
|
<div class="actions-bar wat-cf">
|
2011-09-09 22:10:25 +02:00
|
|
|
<span class="other_info"> <%= t(:total_entries,:scope=>:contact) %>: <%= @contacts.total_entries %></span>
|
2011-08-16 20:05:58 +02:00
|
|
|
</div>
|
|
|
|
<%= will_paginate @contacts %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<table class="table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th class="first"><input id="togglechkbox" class="checkbox toggle" type="checkbox" name="allbox" onclick=toggleCheckBoxes(this.form); /></th>
|
|
|
|
<%= raw contacts_table_header %>
|
|
|
|
<th class="last"></th>
|
|
|
|
</tr>
|
|
|
|
<% trclass = :even %>
|
|
|
|
<% @contacts.each do |c| %>
|
|
|
|
<tr class="<%= trclass.to_s %>">
|
|
|
|
<%= render :partial => 'contacts/row', :object => c %>
|
|
|
|
</tr>
|
|
|
|
<% trclass == :even ? trclass = :odd : trclass = :even %>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<div class="actions-bar wat-cf">
|
|
|
|
<%= will_paginate @contacts %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|