summaryrefslogtreecommitdiff
path: root/app/views/tournaments/new.html.erb
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-03-03 12:23:04 -0500
committerAndrewMurrell <amurrel@purdue.edu>2014-03-03 12:23:04 -0500
commit764d9c06affc962428615b53574dbd5d3db62a7d (patch)
tree1b21eb8b24dd5e2aa674d038294e1a0fd87c9b4f /app/views/tournaments/new.html.erb
parent06ff58091d4710d485d5944b3b4eed362715d8ff (diff)
What was broken has been reforged.
Diffstat (limited to 'app/views/tournaments/new.html.erb')
-rw-r--r--app/views/tournaments/new.html.erb4
1 files changed, 2 insertions, 2 deletions
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 @@
<h1>New tournament</h1>
-<%= 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()' %>
<br />
<div id='ajax-form'>
</div>
<br /><br />
<p id=jumbo-buttons>
-<%= 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 %>