From 06ff58091d4710d485d5944b3b4eed362715d8ff Mon Sep 17 00:00:00 2001 From: AndrewMurrell Date: Mon, 3 Mar 2014 12:02:22 -0500 Subject: Oops, also forgot this one. --- app/views/tournaments/new.html.erb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app/views/tournaments/new.html.erb (limited to 'app/views/tournaments') diff --git a/app/views/tournaments/new.html.erb b/app/views/tournaments/new.html.erb new file mode 100644 index 0000000..b168b1b --- /dev/null +++ b/app/views/tournaments/new.html.erb @@ -0,0 +1,12 @@ +

New tournament

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

+

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