From 3a7b14f4a51c0fdb8b71720f361a0a8ccf080325 Mon Sep 17 00:00:00 2001
From: Luke Shumaker
Date: Thu, 27 Feb 2014 16:59:04 -0500
Subject: add game types
---
app/views/games/show.html.erb | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644 app/views/games/show.html.erb
(limited to 'app/views/games/show.html.erb')
diff --git a/app/views/games/show.html.erb b/app/views/games/show.html.erb
new file mode 100644
index 0000000..20d374f
--- /dev/null
+++ b/app/views/games/show.html.erb
@@ -0,0 +1,9 @@
+<%= notice %>
+
+
+ Name:
+ <%= @game.name %>
+
+
+<%= link_to 'Edit', edit_game_path(@game) %> |
+<%= link_to 'Back', games_path %>
--
cgit v1.2.3-2-g168b
From f3f17dcd9755020276062caae7c0677eff88cb2f Mon Sep 17 00:00:00 2001
From: AndrewMurrell
Date: Thu, 27 Feb 2014 17:41:59 -0500
Subject: Added the Games Attributes stuff.
---
app/views/games/show.html.erb | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
(limited to 'app/views/games/show.html.erb')
diff --git a/app/views/games/show.html.erb b/app/views/games/show.html.erb
index 20d374f..7986016 100644
--- a/app/views/games/show.html.erb
+++ b/app/views/games/show.html.erb
@@ -5,5 +5,25 @@
<%= @game.name %>
+
+ Players per team:
+ <%= @game.players_per_team %>
+
+
+
+ Teams per match:
+ <%= @game.teams_per_match %>
+
+
+
+ Set rounds:
+ <%= @game.set_rounds %>
+
+
+
+ Randomized teams:
+ <%= @game.randomized_teams %>
+
+
<%= link_to 'Edit', edit_game_path(@game) %> |
<%= link_to 'Back', games_path %>
--
cgit v1.2.3-2-g168b