diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/tournaments/index.html.erb | 2 | ||||
-rw-r--r-- | 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 @@ <br> -<%= 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 @@ <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 %> |