summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomer Kimia <tkimia@purdue.edu>2014-03-07 22:01:01 -0500
committerTomer Kimia <tkimia@purdue.edu>2014-03-07 22:01:01 -0500
commit73a3c42546e42b05496b89b10bb175e1666af5c7 (patch)
tree05e61745f56f9e960585ddabc434c9911594bb4d
parenta9c41421fdc9f6a080e46e38214d6b8547c56410 (diff)
small changes
-rw-r--r--app/views/tournaments/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tournaments/show.html.erb b/app/views/tournaments/show.html.erb
index 6b6cb25..1f24f39 100644
--- a/app/views/tournaments/show.html.erb
+++ b/app/views/tournaments/show.html.erb
@@ -61,7 +61,7 @@
<%= form_tag(tournaments_path.to_s + "/" + @tournament.id.to_s + "/edit", method: "get") do %>
<input type="hidden" name="close_action" value="close">
- <% if @tournament.players.count > @tournament.min_players_per_team * @tournament.min_teams_per_match %>
+ <% if @tournament.players.count >= @tournament.min_players_per_team * @tournament.min_teams_per_match %>
<%= submit_tag("Close Tournament Registration") %>
<% else %>
<%= submit_tag("Close Tournament Registration", disabled: true) %>