% layout 'default'; <%= form_for gnuplot => begin %> <%= text_area 'sql', cols => 80, rows => 5 %>
with <%= select_field with => [qw(dots points steps lines)], 'dots' %> <%= submit_button 'execute' %> <% end %> % if ( $img ) { % }
<%= $gnuplot %>