mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-14 08:58:29 +00:00
Moved static pages actions to tournament where it made sense
This commit is contained in:
8
app/views/tournaments/brackets.html.erb
Normal file
8
app/views/tournaments/brackets.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}" , "/tournaments/#{@tournament.id}/brackets/#{weight.id}" %>
|
||||
<br>
|
||||
<% end %>
|
||||
<%= link_to "All Brackets", "/tournaments/#{@tournament.id}/all_brackets?print=true" %>
|
||||
Reference in New Issue
Block a user