mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-07 23:17:25 +00:00
First shot at setting placement points for a single pool
This commit is contained in:
8
app/views/tournaments/_onePoolResults.html.erb
Normal file
8
app/views/tournaments/_onePoolResults.html.erb
Normal file
@@ -0,0 +1,8 @@
|
||||
<h5>Results</h5>
|
||||
<br>
|
||||
<ol>
|
||||
<li><%= @weight.poolOrder(1).first.name %></li>
|
||||
<li><%= @weight.poolOrder(1).second.name %></li>
|
||||
<li><%= @weight.poolOrder(1).third.name %></li>
|
||||
<li><%= @weight.poolOrder(1).fourth.name %></li>
|
||||
</ol>
|
||||
@@ -23,4 +23,8 @@
|
||||
<% if @bracketType == "fourPoolsToSemi" %>
|
||||
<%= render 'fourPoolSemiBracket' %>
|
||||
<% end %>
|
||||
<br><br>
|
||||
<% if @weight.size <= 6 && @weight.allPoolMatchesFinished(1) %>
|
||||
<%= render 'onePoolResults' %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user