summaryrefslogtreecommitdiff
path: root/app/views/games/_form.html.erb
diff options
context:
space:
mode:
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>