]> Dogcows Code - chaz/chatty/blob - root/tt/login.tt
d6ad93cecbdd06b4975c35d8f1926c48f3a9b0bb
[chaz/chatty] / root / tt / login.tt
1 [% META title = 'Log In' -%]
2 <h2>Log In</h2>
3 [% IF ! c.user_exists -%]
4 <form action="[% c.uri_for('login') %]" method="post">
5 <fieldset>
6 <p>
7 <label for="handle">Username</label>
8 <input type="text" name="handle" id="handle">
9 </p>
10 <p>
11 <label for="password">Password</label>
12 <input type="password" name="password" id="password">
13 </p>
14 <input type="submit" value="Login">
15 </fieldset>
16 </form>
17 <h3>Don't have an account?</h3>
18 <p>
19 If you haven't yet registered, <a href="[% c.uri_for('register') %]">go do that now</a>!
20 </p>
21 [% ELSE -%]
22 <p>You are already logged in.</p>
23 <a href="[% c.uri_for('logout') %]">Log Out</a>
24 [% END -%]
This page took 0.031234 seconds and 4 git commands to generate.