Info

Address: <%= @tournament.address %>

Director: <%= @tournament.director %>

Director email: <%= @tournament.director_email %>

Tournament Type: <%= @tournament.tournament_type %>

Tournament Date: <%= @tournament.date %>

Tournament Information Is Public: <%= @tournament.is_public %>

Brackets and team scores can be found in the white nav-bar up top.


Schools

Click to see lineups, bout numbers, score breakdowns, and stats.


<% if can? :manage, @tournament %><% end %> <% @schools.each do |school| %> <% end %>
Name<%= link_to " New School" , "/schools/new?tournament=#{@tournament.id}", :class=>"fas fa-plus" %>
<% if can? :read, school %> <%= link_to "#{school.name}", school %> <% else %> <%= "#{school.name}" %> <% end %> <% if can? :manage, school %> <%= link_to '', edit_school_path(school), :class=>"fas fa-edit" %> <% if can? :manage, @tournament %> <%= link_to '', school, method: :delete, data: { confirm: "Are you sure you want to delete #{school.name}?" }, :class=>"fas fa-trash-alt" %> <% end %> <% end %>

Weight Class Seeds


<% if can? :manage, @tournament %><% end %> <% @weights.each do |weight| %> <% if can? :manage, @tournament %> <% end %> <% end %>
Weight Class Bracket Size<%= link_to " New Weight Class" , "/weights/new?tournament=#{@tournament.id}", :class=>"fas fa-plus" %>
<% if can? :read, @tournament %> <%= link_to "#{weight.max} lbs", weight %> <% else %> <%= "#{weight.max}" %> <% end %> <%= weight.bracket_size %> <%= link_to '', edit_weight_path(weight), :class=>"fas fa-edit" %> <%= link_to '', weight, method: :delete, data: { confirm: "Are you sure you want to delete the #{weight.max} weight class?" }, :class=>"fas fa-trash-alt" %>
<% if can? :manage, @tournament %>

Mats


<% @mats.each do |mat| %> <% if can? :manage, @tournament %> <% end %> <% end %>
Name <%= link_to " New Mat" , "/mats/new?tournament=#{@tournament.id}", :class=>"fas fa-plus" %>
<%= link_to "Mat #{mat.name}", mat %> <%= link_to '', mat, method: :delete, data: { confirm: "Are you sure you want to delete Mat #{mat.name}?" }, :class=>"fas fa-trash-alt" %>
<% end %> <% if can? :manage, @tournament %>

Background Jobs

This is a list of queued or running background jobs. Match generation, bracket advancement, team score calculation, etc.

<% @tournament.deferred_jobs.each do |job| %> <% end %>
Name of Job Job Status
<%= job.job_owner_type %> <% if job.locked_at %> Running <% elsif job.last_error %> Error <% elsif job.attempts == 0 and !job.locked_at %> Pending <% end %>
<% end %>

<%= render 'import_form' %>