summaryrefslogtreecommitdiff
path: root/app/views/tournaments/_form.html.erb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-05-01 12:11:15 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-05-01 12:11:15 -0400
commit5ce55c00ac72bc6fbdd095d7ee697cfa35ea8cc4 (patch)
treef8f73510819a16d0119342ba6e552755bc5f3ec1 /app/views/tournaments/_form.html.erb
parent47bb545740937d50b72e0d1c420fcba4e64d6760 (diff)
Redo styles to be "pure"/simple bootstrap, and fix found issues with forms.
Diffstat (limited to 'app/views/tournaments/_form.html.erb')
-rw-r--r--app/views/tournaments/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tournaments/_form.html.erb b/app/views/tournaments/_form.html.erb
index f53927d..fe2a5c6 100644
--- a/app/views/tournaments/_form.html.erb
+++ b/app/views/tournaments/_form.html.erb
@@ -86,7 +86,7 @@
<fieldset>
<legend>Stages</legend>
<label for="num_stages">Number of Tournament Stages</label>
- <input type="number" name="num_stages" min="1" value="<%= params[:num_stages].to_i %>">
+ <input type="number" id="num_stages" name="num_stages" min="1" value="<%= params[:num_stages].to_i %>">
<%# stage_fields.submit("Set Stages") %>
<% for i in 1..(params[:num_stages].to_i) do %>
<%= stages_fields.fields_for i.to_s do |stage_fields| %>