From 73a3c42546e42b05496b89b10bb175e1666af5c7 Mon Sep 17 00:00:00 2001 From: Tomer Kimia Date: Fri, 7 Mar 2014 22:01:01 -0500 Subject: small changes --- app/views/tournaments/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %> - <% 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) %> -- cgit v1.2.3-2-g168b