mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-05-09 07:11:59 +00:00
Added extra to show on weight view
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
<th>Seed</th>
|
<th>Seed</th>
|
||||||
<th>Record</th>
|
<th>Record</th>
|
||||||
<th>Seed Criteria</th>
|
<th>Seed Criteria</th>
|
||||||
|
<th>Extra></th>
|
||||||
<th>Actions for wrestler</th>
|
<th>Actions for wrestler</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@@ -30,6 +31,9 @@
|
|||||||
<td><%= wrestler.original_seed %></td>
|
<td><%= wrestler.original_seed %></td>
|
||||||
<td><%= wrestler.season_win %>-<%= wrestler.season_loss %></td>
|
<td><%= wrestler.season_win %>-<%= wrestler.season_loss %></td>
|
||||||
<td><%= wrestler.criteria %></td>
|
<td><%= wrestler.criteria %></td>
|
||||||
|
<td><% if wrestler.extra? == true %>
|
||||||
|
Yes
|
||||||
|
<% end %></td>
|
||||||
<td><%= link_to 'Show', wrestler , :class=>"btn" %>
|
<td><%= link_to 'Show', wrestler , :class=>"btn" %>
|
||||||
<% if user_signed_in? %>
|
<% if user_signed_in? %>
|
||||||
<%= link_to 'Edit', edit_wrestler_path(wrestler) , :class=>"btn" %>
|
<%= link_to 'Edit', edit_wrestler_path(wrestler) , :class=>"btn" %>
|
||||||
|
|||||||
Reference in New Issue
Block a user