mailr/themes/olive/views/prefs/_servers_list.html.erb

17 lines
426 B
Plaintext
Raw Normal View History

2011-09-24 22:13:45 +02:00
<table class="table">
<tbody>
<tr>
<th class="first"><input id="toggleall" class="checkbox toggle" type="checkbox" name="allbox"/></th>
<%= raw servers_table_header %>
<th class="last"></th>
</tr>
<% trclass = :even %>
<% @servers.each do |s| %>
<tr class="<%= trclass.to_s %>">
<%= render :partial => 'prefs/server', :object => s %>
</tr>
<% trclass == :even ? trclass = :odd : trclass = :even %>
<% end %>
</tbody>
</table>