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

Added spot to control a match

This commit is contained in:
2015-11-05 09:05:44 -05:00
parent 5173f8209a
commit 5b497e9cf9
4 changed files with 54 additions and 6 deletions

View File

@@ -1,13 +1,19 @@
<p id="notice"><%= notice %></p>
<%= link_to "Back to #{@mat.tournament.name}", "/tournaments/#{@mat.tournament.id}", :class=>"btn btn-default" %>
<br>
<br>
<p>
<strong>Name:</strong>
<%= @mat.name %>
<strong>Mat <%= @mat.name %></strong>
</p>
<p>
<strong>Tournament:</strong>
<%= @mat.tournament_id %>
<%= @mat.tournament.name %>
</p>
<%= link_to 'Edit', edit_mat_path(@mat) %> |
<br>
<br>
<%= render 'match_edit_form' %>