1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Added extra to show on weight view

This commit is contained in:
2015-02-06 03:32:29 +00:00
parent 2b1f0f4ddf
commit 627e3c157c

View File

@@ -18,6 +18,7 @@
<th>Seed</th>
<th>Record</th>
<th>Seed Criteria</th>
<th>Extra></th>
<th>Actions for wrestler</th>
</tr>
</thead>
@@ -30,6 +31,9 @@
<td><%= wrestler.original_seed %></td>
<td><%= wrestler.season_win %>-<%= wrestler.season_loss %></td>
<td><%= wrestler.criteria %></td>
<td><% if wrestler.extra? == true %>
Yes
<% end %></td>
<td><%= link_to 'Show', wrestler , :class=>"btn" %>
<% if user_signed_in? %>
<%= link_to 'Edit', edit_wrestler_path(wrestler) , :class=>"btn" %>