diff options
author | Ben Harris <ben@tilde.team> | 2022-02-01 09:51:25 -0500 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2022-02-01 09:51:25 -0500 |
commit | 8324052997b01793c47b492afccee8100c1fc87e (patch) | |
tree | 81aec14cba2acf9f37b37ca6a74d7ff83c8096f4 /app/views/pages | |
parent | 9150b575075db8a2de75ab476c9c7801d2352242 (diff) |
fix double-display on randomize.html.erb
Diffstat (limited to 'app/views/pages')
-rw-r--r-- | app/views/pages/randomize.html.erb | 8 |
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 %> |