blob: 1505ab572c0ec4943e0e58b0f97fa29751eebaf2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
<h1>Randomize</h1>
<% @groups.each.with_index do |slice, i| %>
<h2><%= @machines[i].name %> <small><%= @machines[i].edition %></small></h2>
<ol>
<% slice.each do |player| %>
<li><%= link_to player.name, player_path(player) %></li>
<% end %>
</ol>
<% end %>
|