summaryrefslogtreecommitdiff
path: root/app/views/matches/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/matches/show.html.erb')
-rw-r--r--app/views/matches/show.html.erb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/matches/show.html.erb b/app/views/matches/show.html.erb
new file mode 100644
index 0000000..9c9cbb4
--- /dev/null
+++ b/app/views/matches/show.html.erb
@@ -0,0 +1,12 @@
+<p>
+ <strong>Tournament:</strong>
+ <%= @match.tournament %>
+</p>
+
+<p>
+ <strong>Name:</strong>
+ <%= @match.name %>
+</p>
+
+<%= link_to 'Edit', edit_match_path(@match) %> |
+<%= link_to 'Back', matches_path %>