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/index.html.erb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'app/views/games/index.html.erb') diff --git a/app/views/games/index.html.erb b/app/views/games/index.html.erb index 27d47b6..ccd0f63 100644 --- a/app/views/games/index.html.erb +++ b/app/views/games/index.html.erb @@ -4,6 +4,10 @@ Name + Players per team + Teams per match + Set rounds + Randomized teams @@ -14,6 +18,10 @@ <% @games.each do |game| %> <%= game.name %> + <%= game.players_per_team %> + <%= game.teams_per_match %> + <%= game.set_rounds %> + <%= game.randomized_teams %> <%= link_to 'Show', game %> <%= link_to 'Edit', edit_game_path(game) %> <%= link_to 'Destroy', game, method: :delete, data: { confirm: 'Are you sure?' } %> -- cgit v1.2.3-2-g168b