1 [% META title = 'Log In' -%]
3 This app lets you chat with other registered chatters. Cool! Once you are
4 registered and logged-in, you will be allowed to join a chat room and get
8 [% IF ! c.user_exists -%]
10 <form action="[% c.uri_for('login') %]" method="post">
13 <label for="handle">Username</label>
14 <input type="text" name="handle" id="handle">
17 <label for="password">Password</label>
18 <input type="password" name="password" id="password">
20 <input type="submit" value="Login">
27 If you don't already have an account, you should
28 <a href="[% c.uri_for('register') %]">go register</a> now!
31 <p>You are already logged in.</p>
32 <a href="[% c.uri_for('logout') %]">Log Out</a>