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

Contents of /trunk/web/templates/new_transport

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15 - (show annotations)
Fri May 26 10:01:16 2006 UTC (18 years ago) by dpavlin
File size: 672 byte(s)
massive cleanup, /new_transport now works and redirects to /all_transports (yee!)
1 <%args>
2 $transport
3 </%args>
4
5 <&|/_elements/wrapper, title => 'New transport' &>
6
7 % if (1 || Jifty->web->current_user->id) {
8
9 <% Jifty->web->form->start( call => '/all_transports' ) %>
10 <% Jifty->web->form->next_page( url => '/all_transports' ) %>
11 <% $transport->form_field('source') %>
12 <% $transport->form_field('destination') %>
13 <% $transport->form_field('request_nr') %>
14 <% $transport->form_field('client_dependent') %>
15 <% $transport->form_field('created_by') %>
16
17 <% Jifty->web->form->submit(label => 'Add transport' ) %>
18 <% Jifty->web->form->end %>
19
20 % } else {
21
22 You have to be
23 <% Jifty->web->link( label => 'logged in', url => '/login' ) %>
24 for this to work!
25
26 % }
27 </&>

  ViewVC Help
Powered by ViewVC 1.1.26