mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Updated show for schools and weights
This commit is contained in:
@@ -40,7 +40,9 @@
|
||||
<th>Record</th>
|
||||
<th>Seed Criteria</th>
|
||||
<th>Extra?</th>
|
||||
<% if user_signed_in? %>
|
||||
<th>Actions</th>
|
||||
<% end %>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -58,13 +60,13 @@
|
||||
<td><% if wrestler.extra? == true %>
|
||||
Yes
|
||||
<% end %></td>
|
||||
<td>
|
||||
<% if user_signed_in? %>
|
||||
<td>
|
||||
<%= link_to 'Show', wrestler , :class=>"btn btn-default" %>
|
||||
<%= link_to 'Edit', edit_wrestler_path(wrestler), :class=>"btn btn-default" %>
|
||||
<%= link_to 'Destroy', wrestler, method: :delete, data: { confirm: 'Are you sure?' }, :class=>"btn btn-danger" %>
|
||||
<% end %>
|
||||
</td>
|
||||
</td>
|
||||
<% end %>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user