blob: f1dec90c4597e130f73cdb93420a938ab8a6356c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<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'>
<% render :partial => "selected" %>
</div>
<br /><br />
<%= link_to 'Back', tournaments_path %>
|