search for: table_break

Displaying 1 result from an estimated 1 matches for "table_break".

2005 Dec 13
0
Splitting records into multiple columns (can this code be improved?)
...em_count | category item_count category item_count | category item_count category item_count | category item_count ... Here''s the template code: <table> <tr valign="top"> <td width="50%"> <table width="100%"> <% table_break=(@categories.length.to_f/2).ceil %> <% i=1 %> <% for category in @categories %> <tr> <td nowrap><%= link_to h(category.name), {:controller=>''categories'', :action=>''list'', :category=>c...