--- trunk/share/web/templates/sql.html 2006/12/03 13:28:48 13 +++ trunk/share/web/templates/sql.html 2006/12/03 13:45:00 14 @@ -19,11 +19,11 @@ <% $action->form_field('sql_query') %> <% $action->form_field('database') %> <% Jifty->web->form->submit( label => 'Try it!' ) %> -<% Jifty->web->form->end() %> - % if ( defined($sth) ) { +
+ @@ -42,4 +42,24 @@
+
+ +<%perl> +my $save = Jifty->web->new_action( + class => 'CreatePage', + arguments => { + sql_query => $action->form_field('sql_query'), + on_database => $action->form_field('database'), + } +); + + + +<% $save->form_field('name') %> +<% $save->button( label => 'Save' ) %> + % } + +<% Jifty->web->form->end() %> + +