summaryrefslogtreecommitdiff
path: root/app/views/tournaments/new.html.erb
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 19:56:33 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-06 19:56:33 -0500
commita1700f50ee800cfbfb93bd7dfff7b5d79ae2cb2f (patch)
treec9db0b8bdd4818f5ce2ff982657e2aedfda98f8f /app/views/tournaments/new.html.erb
parent706392b7c4520382ddd8f827b31205c6b71f5320 (diff)
parent63830b0f939db5f6911218950525428420c4d467 (diff)
Merge branch 'master2'
Conflicts: app/controllers/tournaments_controller.rb app/models/tournament.rb app/views/tournaments/_selected.html.erb app/views/tournaments/new.html.erb config/routes.rb
Diffstat (limited to 'app/views/tournaments/new.html.erb')
-rw-r--r--app/views/tournaments/new.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/tournaments/new.html.erb b/app/views/tournaments/new.html.erb
index e007e31..8c74068 100644
--- a/app/views/tournaments/new.html.erb
+++ b/app/views/tournaments/new.html.erb
@@ -2,13 +2,13 @@
<%= form_tag(new_tournament_path, method: "get") do %>
<%= select_tag('game',
- options_from_collection_for_select(@games, 'id', 'name', @tournament.game.nil? || @tournament.game.id),
- :prompt => "Select a Game Type") %>
- <%= submit_tag("Select", :class => "btn-warning btn-lg") %>
+ options_from_collection_for_select(@games, 'id', 'name', @tournament.game.nil? || @tournament.game.id),
+ :prompt => "Select a Game Type") %>
+ <%= submit_tag("Select", :class => "btn btn-success btn-xs") %>
<% end %>
<div id='ajax-form'>
- <% unless @tournament.game.nil? %>
+ <% if not @tournament.game.nil? %>
<%= render 'selected' %>
<% end %>
</div>