summaryrefslogtreecommitdiff
path: root/app/views/tournaments/new.html.erb
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-03-03 12:25:39 -0500
committerDavisLWebb <davislwebb@ymail.com>2014-03-03 12:25:39 -0500
commit257ccb19453c1d609e724a29349d390e5978b739 (patch)
tree1b4ce40e8b624ee9169e9b481cb7774c0a8cdb46 /app/views/tournaments/new.html.erb
parentd6cd8be7b4b5453e93faf11858c3e888f23a8ed9 (diff)
parent764d9c06affc962428615b53574dbd5d3db62a7d (diff)
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/tournaments/new.html.erb')
-rw-r--r--app/views/tournaments/new.html.erb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/tournaments/new.html.erb b/app/views/tournaments/new.html.erb
new file mode 100644
index 0000000..de80fb7
--- /dev/null
+++ b/app/views/tournaments/new.html.erb
@@ -0,0 +1,12 @@
+<h1>New tournament</h1>
+
+<%= 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 'Back', tournaments_path %>