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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5 - (hide annotations)
Thu May 4 21:54:50 2006 UTC (18 years, 1 month ago) by dpavlin
File size: 432 byte(s)
partly added login and logout from wifty
1 dpavlin 5 <%args>
2     $action => undef
3     $next => undef
4     </%args>
5     <&|/_elements/wrapper, title => 'Login' &>
6    
7     % if (not Jifty->web->current_user->id) {
8     <h2>Login</h2>
9     <% Jifty->web->form->start(call => $next, name => "loginbox") %>
10     <% $action->form_field('email') %>
11     <% $action->form_field('password') %>
12     <% Jifty->web->form->submit(label => 'Login', submit => $action) %>
13     <% Jifty->web->form->end %>
14     % }
15     % else {
16     You're already logged in.
17     % }
18     </&>

  ViewVC Help
Powered by ViewVC 1.1.26