1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-21 14:22:24 +00:00

Added basic scaffolds for schools wrestlers and weights

This commit is contained in:
Jacob Cody Wimer
2013-12-31 11:23:43 -05:00
parent 5b6a127549
commit 24d9deee8b
57 changed files with 943 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
<p id="notice"><%= notice %></p>
<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>Seed:</strong>
<%= @wrestler.seed %>
</p>
<p>
<strong>Original seed:</strong>
<%= @wrestler.original_seed %>
</p>
<%= link_to 'Edit', edit_wrestler_path(@wrestler) %> |
<%= link_to 'Back', wrestlers_path %>