/[SQLSession]/trunk/share/web/templates/save
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/share/web/templates/save

Parent Directory Parent Directory | Revision Log Revision Log


Revision 23 - (hide annotations)
Mon Dec 4 15:15:54 2006 UTC (17 years, 5 months ago) by dpavlin
File size: 561 byte(s)
some design (buttons should be buttons), and fixes for save
1 dpavlin 22 <%args>
2     $sql_query
3     $database
4     </%args>
5     <%init>
6    
7     my $q = Jifty->web->new_action(
8     class => 'CreateQuery',
9     moniker => 'save_query',
10     );
11    
12     </%init>
13    
14     <% Jifty->web->form->start %>
15     <% $q->form_field('sql_query', default_value => $sql_query ) %>
16     <% $q->form_field('on_database', default_value => $database ) %>
17     <% $q->form_field('name') %>
18    
19 dpavlin 23 <div class="submit_button">
20     <% $q->button(label => "Save this query" ) %>
21     <% Jifty->web->link(
22     label => 'Cancel',
23     onclick => {
24     refresh_self => 1,
25     toggle => 1,
26     },
27     as_button => 1,
28     ) %>
29     </div>
30    
31 dpavlin 22 <% Jifty->web->form->end %>
32    

  ViewVC Help
Powered by ViewVC 1.1.26