summaryrefslogtreecommitdiff
path: root/app/views/tournaments/_selected.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/tournaments/_selected.html.erb')
-rw-r--r--app/views/tournaments/_selected.html.erb23
1 files changed, 0 insertions, 23 deletions
diff --git a/app/views/tournaments/_selected.html.erb b/app/views/tournaments/_selected.html.erb
deleted file mode 100644
index e89550e..0000000
--- a/app/views/tournaments/_selected.html.erb
+++ /dev/null
@@ -1,23 +0,0 @@
-<%= form_for(@tournament) do |f| %>
- <%= render "common/error_messages", :target => @tournament %>
- <%= f.hidden_field(:game_id) %>
-
- <% @tournament.attributes.each do |name, value| %>
- <% if (name == "randomized_teams") or(name == "max_teams_per_match") or (name == "max_players_per_team") or (name == "id") or (name =~ /.*_at$/) or (name == "game_id") or (name == "status") or (name == "set_rounds") %>
- <% next %>
- <% end %>
- <p>
- <%= f.label name %><br>
- <% unless @tournament.game.attributes[name].nil? %>
- <% if name == "sampling_method" %>
- <%= f.select( name, Tournament.sampling_methods) %>
- <% else %>
- <%= f.text_field(name, :value => @tournament.game.attributes[name] ) %>
- <% end %>
- <% else %>
- <%= f.select( name, Tournament.scoring_methods) %>
- <% end %>
- </p>
- <% end %>
- <%= f.submit %>
-<% end %>