mailr/themes/olive/views/prefs/_servers_list.html.erb
2011-09-29 21:16:40 +02:00

17 lines
426 B
Plaintext
Executable file

<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>