about summary refs log tree commit diff
path: root/app/views/pages/randomize.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/pages/randomize.html.erb')
-rw-r--r--app/views/pages/randomize.html.erb8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/pages/randomize.html.erb b/app/views/pages/randomize.html.erb
index 1505ab5..a097d5d 100644
--- a/app/views/pages/randomize.html.erb
+++ b/app/views/pages/randomize.html.erb
@@ -1,10 +1,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><%= @machines[i].name %> <small><%= @machines[i].edition %></small></h2>
+  <h2 id="<%= dom_id @machines[i] %>"><%= @machines[i].name %> <small><%= @machines[i].edition %></small></h2>
   <ol>
     <% slice.each do |player| %>
-      <li><%= link_to player.name, player_path(player) %></li>
+      <li id="<%= dom_id player %>"><%= link_to player.name, player_path(player) %></li>
     <% end %>
   </ol>
 <% end %>