blob: a097d5dd96e10e13daaa17bee6a3a50a73eb37d8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<% content_for :extra_head do %>
<meta name="turbo-cache-control" content="no-preview">
<% end %>
<h1>Randomize</h1>
<% @groups.each.with_index do |slice, i| %>
<h2 id="<%= dom_id @machines[i] %>"><%= @machines[i].name %> <small><%= @machines[i].edition %></small></h2>
<ol>
<% slice.each do |player| %>
<li id="<%= dom_id player %>"><%= link_to player.name, player_path(player) %></li>
<% end %>
</ol>
<% end %>
|