mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-23 22:49:54 +00:00
Added matches scaffold and ascended views of weights and schools
This commit is contained in:
39
app/views/matches/show.html.erb
Normal file
39
app/views/matches/show.html.erb
Normal file
@@ -0,0 +1,39 @@
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
<p>
|
||||
<strong>R:</strong>
|
||||
<%= @match.r_id %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>G:</strong>
|
||||
<%= @match.g_id %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>G stat:</strong>
|
||||
<%= @match.g_stat %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>R stat:</strong>
|
||||
<%= @match.r_stat %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>Winner:</strong>
|
||||
<%= @match.winner_id %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>Win type:</strong>
|
||||
<%= @match.win_type %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>Score:</strong>
|
||||
<%= @match.score %>
|
||||
</p>
|
||||
|
||||
<%= link_to 'Edit', edit_match_path(@match) %> |
|
||||
<%= link_to 'Back', matches_path %>
|
||||
Reference in New Issue
Block a user