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