26 lines
708 B
Plaintext
Executable file
26 lines
708 B
Plaintext
Executable file
<div class="inner">
|
|
<div class="actions-bar wat-cf">
|
|
<span class="other_info"> <%= t(:total_entries,:scope=>:contact) %>: <%= @contacts.total_entries %></span>
|
|
<%= will_paginate @contacts %>
|
|
</div>
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<th class="first"><input id="toggleall" class="checkbox toggle" type="checkbox" name="allbox"/></th>
|
|
<%= raw contacts_table_header %>
|
|
<th class="last"></th>
|
|
</tr>
|
|
<% trclass = :even %>
|
|
<% @contacts.each do |c| %>
|
|
<tr class="<%= trclass.to_s %>">
|
|
<%= render :partial => 'contacts/contact', :object => c %>
|
|
</tr>
|
|
<% trclass == :even ? trclass = :odd : trclass = :even %>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<div class="actions-bar wat-cf">
|
|
<%= will_paginate @contacts %>
|
|
</div>
|
|
</div>
|