specify just hash names and generate SQL from it
[APKPM.git] / templates / gnuplot.html.ep
index 65435a4..3e1e50d 100644 (file)
@@ -1,4 +1,7 @@
 % layout 'default';
+
+% if ( ! param('hide') ) {
+
 <%= form_for gnuplot => begin %>
  <%= text_area 'sql', cols => 80, rows => 5 %>
  <br>with <%= select_field with => [qw(dots points steps lines)], 'dots' %>
@@ -6,8 +9,12 @@
  <%= submit_button 'execute' %>
  <%= check_box 'include_gnuplot' => 1, title => 'include gnuplot dump' %>
 <% end %>
+
+% }
+
 % if ( $img ) {
 <img src="<%= $img %>">
 % }
+
 <pre><%= $gnuplot %></pre>