mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-12 00:09:32 +00:00
Moving pages to tournament from static_pages
This commit is contained in:
8
app/views/tournaments/weights.html.erb
Normal file
8
app/views/tournaments/weights.html.erb
Normal file
@@ -0,0 +1,8 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<br>
|
||||
<% @weights.each do |weight| %>
|
||||
<%= link_to "#{weight.max}" , "/static_pages/brackets?weight=#{weight.id}" %>
|
||||
<br>
|
||||
<% end %>
|
||||
<%= link_to "All Brackets", "/static_pages/all_brackets?print=true&tournament=#{@tournament.id}" %>
|
||||
Reference in New Issue
Block a user