diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-04-27 14:22:17 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-04-27 14:22:17 -0400 |
commit | 442146c7160b95d452975336dfddaf8faf74d544 (patch) | |
tree | f4cbb6405a05e0ebbdea264dbcb6124ad96f560d /app/views/tournaments/_form.html.erb | |
parent | abf98c279674c172fc9064e5013087c72101fad9 (diff) |
fixed, seeds, roundrobin, and _show_tourn
Diffstat (limited to 'app/views/tournaments/_form.html.erb')
-rw-r--r-- | app/views/tournaments/_form.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tournaments/_form.html.erb b/app/views/tournaments/_form.html.erb index 28d9c27..cb4c175 100644 --- a/app/views/tournaments/_form.html.erb +++ b/app/views/tournaments/_form.html.erb @@ -84,7 +84,7 @@ <%= f.fields_for :stages do |stages_fields| %><fieldset><legend>Stages</legend> <label for="num_stages">Number of tournament stages</label> <input type="number" name="num_stages" min="1" value="<%= params[:num_stages] ? params[:num_stages].to_i : 1 %>"> - <%= submit_tag("Set Stages", :class => "btn") %> + <%# submit_tag("Set Stages", :class => "btn") %> <% for i in 1..(params[:num_stages].to_i) do %> <%= stages_fields.fields_for i.to_s do |stage_fields| %><fieldset><legend>Stage <%= i %></legend> <%= stage_fields.label :scheduling_method %> |