1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-07 14:57:48 +00:00

Updated show for schools and weights

This commit is contained in:
2015-07-02 09:33:45 -04:00
parent 58ac150aaf
commit 06635f3d46
2 changed files with 10 additions and 8 deletions

View File

@@ -19,7 +19,7 @@
<th>Record</th>
<th>Seed Criteria</th>
<th>Extra?</th>
<th>Actions for wrestler</th>
<% if user_signed_in? %><th>Actions for wrestler</th><% end %>
</tr>
</thead>
<tbody>
@@ -43,10 +43,10 @@
<td><% if wrestler.extra? == true %>
Yes
<% end %></td>
<td><%= link_to 'Show', wrestler , :class=>"btn btn-default" %>
<% if user_signed_in? %>
<%= link_to 'Destroy', wrestler, method: :delete, data: { confirm: 'Are you sure?' } , :class=>"btn btn-danger" %></td>
<% end %>
<% if user_signed_in? %>
<td><%= link_to 'Show', wrestler , :class=>"btn btn-default" %>
<%= link_to 'Destroy', wrestler, method: :delete, data: { confirm: 'Are you sure?' } , :class=>"btn btn-danger" %></td>
<% end %>
</tr>
<% end %>
<% end %>