1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-03 13:30:02 +00:00

See bracket size from tournament view.

This commit is contained in:
2015-02-06 09:08:37 -05:00
parent bf012939a6
commit 3eff0ed0fa
2 changed files with 8 additions and 1 deletions

View File

@@ -69,6 +69,7 @@
<thead>
<tr>
<th>Weight Class</th>
<th>Bracket Size</th>
<th></th>
</tr>
</thead>
@@ -77,6 +78,7 @@
<% @weights.each do |weight| %>
<tr>
<td><%= weight.max %></td>
<td><%= weight.bracket_size %></td>
<td><%= link_to 'Show', weight, :class=>"btn" %>
<% if user_signed_in? %>
<%= link_to 'Edit', edit_weight_path(weight), :class=>"btn" %>