<% list.each do |sphere| %> <%= raw cycle("", "", :name => "end_cell") %> <% end %> <%= raw("") if list.size.odd? %>
", "", :name => "begin_cell") %>
type="checkbox"/>
<%= raw cycle("
<%= javascript_tag do %> $(function() { $('input[id^="sphere"]').checkBox(); }) <% end %>