1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-31 19:45:45 +00:00
Files
wrestlingdev.com/app/views/static_pages/brackets.html.erb

15 lines
351 B
Plaintext

</br>
</br>
</br>
<%= link_to "Back to #{@tournament.name} weights", "/static_pages/weights?tournament=#{@tournament.id}" %>
<br>
<br>
<h1><%= @weight.max %> lbs Bracket</h1>
<% if @weight.pools == 4 %>
<%= render 'fourPool' %>
<% elsif @weight.pools == 2 %>
<%= render 'twoPool' %>
<% elsif @weight.pools == 1 %>
<%= render 'onePool' %>
<% end %>