Aggiunge i tornei con hub, pagina pubblica e tabellone per semifinali e finali.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-05 15:05:57 +02:00
co-authored by Cursor
parent d52434fb2e
commit a1f4c24a43
124 changed files with 6979 additions and 91 deletions
@@ -0,0 +1,10 @@
<% participant = match.public_send("#{side}_participant") %>
<% if @writable && !tournament_match_sides_locked?(match) %>
<%= select_tag "match[#{side}_participant_id]",
options_from_collection_for_select(@participants, :id, :name, participant&.id),
include_blank: tournament_side_blank_label(match, side),
form: form_id,
class: "tournament-match-form__team" %>
<% else %>
<%= tournament_team_chip(participant, name: match.public_send("#{side}_display_name")) %>
<% end %>