/[transports]/trunk/web/templates/edit
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/edit

Parent Directory Parent Directory | Revision Log Revision Log


Revision 40 - (show annotations)
Sat May 27 22:09:29 2006 UTC (17 years, 11 months ago) by dpavlin
File size: 586 byte(s)
redirect users to login form (if needed) and return to same page
1 <%args>
2 $transport
3 </%args>
4
5 <&|/_elements/wrapper, title => 'Edit transport' &>
6
7 % if (not Jifty->web->current_user->id) {
8 <% Jifty->web->redirect( '/login/edit' ) %>
9 % } else {
10
11 <% Jifty->web->form->start %>
12 <% Jifty->web->form->next_page( url => '/transports' ) %>
13 <% $transport->form_field('source') %>
14 <% $transport->form_field('destination') %>
15 <% $transport->form_field('request_nr') %>
16 <% $transport->form_field('client_dependent') %>
17 <% $transport->form_field('created_by') %>
18
19 <% Jifty->web->form->submit(label => 'Update transport' ) %>
20 <% Jifty->web->form->end %>
21
22 % }
23 </&>

  ViewVC Help
Powered by ViewVC 1.1.26