summaryrefslogtreecommitdiff
path: root/app/views/tournaments/_selected.html.erb
diff options
context:
space:
mode:
authortkimia <tkimia@purdue.edu>2014-04-03 16:45:05 -0400
committertkimia <tkimia@purdue.edu>2014-04-03 16:45:05 -0400
commitdacab01db3ac4b9d9e2281daff74230a003f138e (patch)
treefe85ee0e664f52f06e36d4ee014416a3bea292be /app/views/tournaments/_selected.html.erb
parent9236bc8f79bf18f7aa9802090c53536fe20108bb (diff)
small change in form (Set Rounds no longer viewable). AJAX fixed so that start tournament button enables or disables based on players here.
Diffstat (limited to 'app/views/tournaments/_selected.html.erb')
-rw-r--r--app/views/tournaments/_selected.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tournaments/_selected.html.erb b/app/views/tournaments/_selected.html.erb
index 8734b14..8a704b5 100644
--- a/app/views/tournaments/_selected.html.erb
+++ b/app/views/tournaments/_selected.html.erb
@@ -4,7 +4,7 @@
<% @chosen = Game.find_by(params[:game]) %>
<% @tournament.attributes.each do |name, value| %>
- <% if (name == "id") or (name =~ /.*_at$/) or (name == "game_id") or (name == "status") %>
+ <% if (name == "id") or (name =~ /.*_at$/) or (name == "game_id") or (name == "status") or (name == "set_rounds") %>
<% next %>
<% end %>
<p>