summaryrefslogtreecommitdiff
path: root/app/views/games/_form.html.erb
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-04-22 11:46:11 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-04-22 11:46:11 -0400
commitdb45b2441bd57a5e640b529ef6239c98a3030fe2 (patch)
treebcffce81e433821f6ddd9a6588b40ee1d5f84592 /app/views/games/_form.html.erb
parent4aeaf0e41518695c3c6ba3b09025516f67b06a11 (diff)
parent474a048ae4a4fae86e7fde93745f0ea79c7ed717 (diff)
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/games/_form.html.erb')
-rw-r--r--app/views/games/_form.html.erb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/games/_form.html.erb b/app/views/games/_form.html.erb
index f68e28f..ef250ad 100644
--- a/app/views/games/_form.html.erb
+++ b/app/views/games/_form.html.erb
@@ -13,7 +13,7 @@
<div class="field">
<%= f.label :name %><br>
- <%= f.text_area :name %>
+ <%= f.text_field :name %>
</div>
<div class="field">
<%= f.label :min_players_per_team %><br>
@@ -39,6 +39,10 @@
<%= f.label :randomized_teams %><br>
<%= f.check_box :randomized_teams %>
</div>
+ <div class="field">
+ <%= f.label :sampling_method %><br>
+ <%= f.text_field :sampling_method %>
+ </div>
<div class="actions">
<%= f.submit %>
</div>