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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 51 - (show annotations)
Mon Jun 5 14:06:58 2006 UTC (17 years, 11 months ago) by dpavlin
File size: 645 byte(s)
added landscapes (collection of source and destination clients) to the mix
instead of specifing users for sources (and destinations which wasn't
implemented anyway)
1 <%args>
2 $user
3 $user_id
4 </%args>
5 <&|/_elements/wrapper, title => 'Change user' &>
6
7 % if (not Jifty->web->current_user->id) {
8 <% Jifty->web->redirect( '/login/user_form' ) %>
9 % } else {
10
11 <% Jifty->web->form->start %>
12 <% Jifty->web->form->next_page( url => '/transports' ) %>
13 <% $user->form_field('name') %>
14 <% $user->form_field('email') %>
15 <% $user->form_field('password') %>
16 <% $user->form_field('admin') %>
17 <% Jifty->web->form->submit( label => 'Update user' ) %>
18 <% Jifty->web->form->end %>
19
20 <% Jifty->web->region(
21 name => "user-on-landscape",
22 path => "/fragments/user_on_landscape",
23 defaults => {
24 user_id => $user_id,
25 },
26 ) %>
27
28 % }
29
30 </&>

  ViewVC Help
Powered by ViewVC 1.1.26