1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Files
wrestlingdev.com/app/views/mats/show.html.erb
2016-01-18 18:31:15 +00:00

22 lines
366 B
Plaintext

<%= link_to "Back to #{@mat.tournament.name}", "/tournaments/#{@mat.tournament.id}", :class=>"btn btn-default" %>
<br>
<br>
<p>
<strong>Mat <%= @mat.name %></strong>
</p>
<p>
<strong>Tournament:</strong>
<%= @mat.tournament.name %>
</p>
<br>
<br>
<% if @match %>
<%= render 'match_edit_form' %>
<% else %>
<p>No matches assigned to this mat.</p>
<% end %>