1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Files
wrestlingdev.com/app/views/wrestlers/show.html.erb
2014-01-22 13:40:11 -05:00

28 lines
517 B
Plaintext

<p id="notice"><%= notice %></p>
<%= link_to "Back to #{@school.name}", "/schools/#{@school.id}" %> |
<% if user_signed_in? %>
<%= link_to "Edit #{@wrestler.name}", edit_wrestler_path(@wrestler) %> |
<% end %>
<p>
<strong>Name:</strong>
<%= @wrestler.name %>
</p>
<p>
<strong>School:</strong>
<%= School.find(@wrestler.school_id).name %>
</p>
<p>
<strong>Weight:</strong>
<%= Weight.find(@wrestler.weight_id).max %>
</p>
<p>
<strong>Original seed:</strong>
<%= @wrestler.original_seed %>
</p>