]> Dogcows Code - chaz/chatty/blobdiff - root/tt/register.tt
switch to FormHandler for validation
[chaz/chatty] / root / tt / register.tt
index 9c15f929c4b61ec2dea62c7548c241683640dc35..c73e161a41964e920b9cfa05c2d95d2838cf33ea 100644 (file)
@@ -7,6 +7,7 @@ $('#form button[type=reset]').click(function() {
 [% END -%]
 <h2>Register</h2>
 [% IF ! c.user_exists -%]
+<!--
 <form id="form" action="[% c.uri_for('register') %]" method="post">
        <fieldset>
                <p>
@@ -29,6 +30,8 @@ $('#form button[type=reset]').click(function() {
                <button type="reset">Reset</button>
        </fieldset>
 </form>
+-->
+[% form.render %]
 [% ELSE -%]
 <p>You are already registered and logged in.  There is no need to register again.</p>
 [% END -%]
This page took 0.019896 seconds and 4 git commands to generate.