/[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

Diff of /trunk/web/templates/login

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 84 by dpavlin, Thu May 4 21:54:50 2006 UTC revision 85 by dpavlin, Thu Jun 15 22:08:07 2006 UTC
# Line 1  Line 1 
1  <%args>  <%init>
2  $action => undef  my $action = Jifty->web->new_action(class => 'Login', monkier => 'loginbox' );
3  $next => undef  </%init>
 </%args>  
4  <&|/_elements/wrapper, title => 'Login' &>  <&|/_elements/wrapper, title => 'Login' &>
5    
6  % if (not Jifty->web->current_user->id) {  % if (not Jifty->web->current_user->id) {
7  <h2>Login</h2>  <h2>Login</h2>
8  <% Jifty->web->form->start(call => $next, name => "loginbox") %>  <% Jifty->web->form->start %>
9  <% $action->form_field('email') %>  <% $action->form_field('email') %>
10  <% $action->form_field('password') %>  <% $action->form_field('password') %>
11  <% Jifty->web->form->submit(label => 'Login', submit => $action) %>  <% Jifty->web->form->submit(label => 'Login') %>
12  <% Jifty->web->form->end %>  <% Jifty->web->form->end %>
13  % }  % }
14  % else {  % else {
15  You're already logged in.  You're logged in.
16  % }  % }
17  </&>  </&>

Legend:
Removed from v.84  
changed lines
  Added in v.85

  ViewVC Help
Powered by ViewVC 1.1.26