]> Dogcows Code - chaz/chatty/blob - root/tt/login.tt
d2b70e2dceb25c4079e342ddda45e10bbbb77836
[chaz/chatty] / root / tt / login.tt
1 <h1>Log In</h1>
2 [% IF ! c.user_exists %]
3 <form action="[% c.uri_for('login') %]" method="post">
4 <label for="handle">Username</label>
5 <input type="text" name="handle" id="handle">
6 <label for="password">Password</label>
7 <input type="password" name="password" id="password">
8 <input type="submit" value="Login">
9 </form>
10 [% ELSE %]
11 <p>You are already logged in.</p>
12 <a href="[% c.uri_for('logout') %]">Log Out</a>
13 [% END %]
This page took 0.029188 seconds and 3 git commands to generate.