]> Dogcows Code - chaz/chatty/blobdiff - root/tt/login.tt
switch to FormHandler for validation
[chaz/chatty] / root / tt / login.tt
index d6ad93cecbdd06b4975c35d8f1926c48f3a9b0bb..3720e2611122f7c388e1fd3c5856a8cf2c07a8bd 100644 (file)
@@ -1,6 +1,7 @@
 [% META title = 'Log In' -%]
 <h2>Log In</h2>
 [% IF ! c.user_exists -%]
+<!--
 <form action="[% c.uri_for('login')  %]" method="post">
        <fieldset>
                <p>
                <input type="submit" value="Login">
        </fieldset>
 </form>
-<h3>Don't have an account?</h3>
+-->
+[% form.render %]
+<h3>Register</h3>
 <p>
-If you haven't yet registered, <a href="[% c.uri_for('register') %]">go do that now</a>!
+If you don't already have an account, <a href="[% c.uri_for('register') %]">go register</a>!
 </p>
 [% ELSE -%]
 <p>You are already logged in.</p>
This page took 0.015983 seconds and 4 git commands to generate.