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

Contents of /trunk/web/templates/login

Parent Directory Parent Directory | Revision Log Revision Log


Revision 89 - (show annotations)
Wed Jun 21 13:05:48 2006 UTC (17 years, 11 months ago) by dpavlin
File size: 591 byte(s)
fix typo
1 <%init>
2 my $action = Jifty->web->new_action(class => 'Login', moniker => 'loginbox' );
3 my $next = Jifty->web->request->continuation ||
4 Jifty::Continuation->new(
5 request => Jifty::Request->new( path => '/transports' )
6 );
7 </%init>
8 <&|/_elements/wrapper, title => 'Login' &>
9
10 % if (not Jifty->web->current_user->id) {
11 <h2>Login</h2>
12 <% Jifty->web->form->start( name => 'loginbox', call => $next ) %>
13 <% $action->form_field('email') %>
14 <% $action->form_field('password') %>
15 <% Jifty->web->form->submit(label => 'Login') %>
16 <% Jifty->web->form->end %>
17 % }
18 % else {
19 You're logged in.
20 % }
21 </&>

  ViewVC Help
Powered by ViewVC 1.1.26