correct timeout handling
[APKPM.git] / templates / gnuplot.html.ep
index e4544e9..65435a4 100644 (file)
@@ -2,7 +2,7 @@
 <%= form_for gnuplot => begin %>
  <%= text_area 'sql', cols => 80, rows => 5 %>
  <br>with <%= select_field with => [qw(dots points steps lines)], 'dots' %>
- timeout <%= text_field 'timeout', value => 5, style => 'width: 2em' %>s
+ timeout <%= input_tag 'timeout', type => 'number', style => 'width: 3em' %>s
  <%= submit_button 'execute' %>
  <%= check_box 'include_gnuplot' => 1, title => 'include gnuplot dump' %>
 <% end %>