% layout 'default'; % if ( ! param('hide') ) { <%= form_for gnuplot => begin %> <%= text_area 'sql', cols => 80, rows => 5 %>
with <%= select_field with => [qw(dots points steps lines)], 'dots' %> timeout <%= input_tag 'timeout', type => 'number', style => 'width: 3em' %>s <%= submit_button 'execute' %> <%= check_box 'include_gnuplot' => 1, title => 'include gnuplot dump' %> <% end %> % } % if ( $img ) { % }
<%= $gnuplot %>