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