diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-02-27 17:41:59 -0500 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-02-27 17:41:59 -0500 |
commit | f3f17dcd9755020276062caae7c0677eff88cb2f (patch) | |
tree | 36018148c3335f708269075f41c8892a62d0c85b /app/views/games/show.html.erb | |
parent | de40ec53e8b80d8d880214183f19ea93172a0026 (diff) |
Added the Games Attributes stuff.
Diffstat (limited to 'app/views/games/show.html.erb')
-rw-r--r-- | app/views/games/show.html.erb | 20 |
1 files changed, 20 insertions, 0 deletions
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 %> </p> +<p> + <strong>Players per team:</strong> + <%= @game.players_per_team %> +</p> + +<p> + <strong>Teams per match:</strong> + <%= @game.teams_per_match %> +</p> + +<p> + <strong>Set rounds:</strong> + <%= @game.set_rounds %> +</p> + +<p> + <strong>Randomized teams:</strong> + <%= @game.randomized_teams %> +</p> + <%= link_to 'Edit', edit_game_path(@game) %> | <%= link_to 'Back', games_path %> |