From 764d9c06affc962428615b53574dbd5d3db62a7d Mon Sep 17 00:00:00 2001 From: AndrewMurrell Date: Mon, 3 Mar 2014 12:23:04 -0500 Subject: What was broken has been reforged. --- app/views/tournaments/index.html.erb | 2 +- app/views/tournaments/new.html.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/tournaments/index.html.erb b/app/views/tournaments/index.html.erb index 7810b50..73b064e 100644 --- a/app/views/tournaments/index.html.erb +++ b/app/views/tournaments/index.html.erb @@ -24,4 +24,4 @@
-<%= link_to 'New Tournament', new_tournament_path, :class => "btn btn-warning btn-lg" %> +<%= link_to 'New Tournament', new_tournament_path %> diff --git a/app/views/tournaments/new.html.erb b/app/views/tournaments/new.html.erb index b168b1b..de80fb7 100644 --- a/app/views/tournaments/new.html.erb +++ b/app/views/tournaments/new.html.erb @@ -1,12 +1,12 @@

New tournament

-<%= select_tag 'tournament_id', options_for_select([] + Game.all.collect {|game| game.name}), :onchange => 'populate()' %> +<%= select_tag 'tournament_id', options_for_select(["Select a Game Type"] + Game.all.collect {|game| game.name}), :onchange => 'populate()' %>


-<%= link_to 'Create Tournament', create, :class => btn btn-warning btn-lg, :role => submit %> +<%= link_to 'Create Tournament', "create", :class => "btn btn-warning btn-lg", :role => "submit" %> <%= link_to 'Back', tournaments_path %> -- cgit v1.2.3-2-g168b