X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fchatty;a=blobdiff_plain;f=root%2Ftt%2Fregister.tt;fp=root%2Ftt%2Fregister.tt;h=250654b0c2ed1227146a06507cf4b787c4135857;hp=c73e161a41964e920b9cfa05c2d95d2838cf33ea;hb=8a3ece46ef6bfeefaa27f53f199c285d0062f841;hpb=d2a57728529b95fa1c2e3da677e64c848e7d065b diff --git a/root/tt/register.tt b/root/tt/register.tt index c73e161..250654b 100644 --- a/root/tt/register.tt +++ b/root/tt/register.tt @@ -1,36 +1,12 @@ [% META title = 'Register' -%] [% BLOCK js -%] -$('#form').validationEngine(); -$('#form button[type=reset]').click(function() { - $('#form').validationEngine('hideAll'); +$('form').validationEngine(); +$('form input[type=reset]').click(function() { + $('form').validationEngine('hideAll'); }); [% END -%] -

Register

+

Register

[% IF ! c.user_exists -%] - [% form.render %] [% ELSE -%]

You are already registered and logged in. There is no need to register again.