diff options
author | John Ankarström <john@ankarstrom.se> | 2021-09-19 01:45:42 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-09-19 01:45:42 +0200 |
commit | c2ba75793e78afb00223003ddfcbc05714bd01bf (patch) | |
tree | 1037691fa9cdb7e47258b678cc6a5a70107c85c5 /t/newuser.t | |
parent | 4b838fced8cd5fd2c24300e3f9132a1474051a76 (diff) | |
download | cforum-c2ba75793e78afb00223003ddfcbc05714bd01bf.tar.gz |
Add simple captcha
Diffstat (limited to 't/newuser.t')
-rw-r--r-- | t/newuser.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/newuser.t b/t/newuser.t index e62fdc2..7d53f0c 100644 --- a/t/newuser.t +++ b/t/newuser.t @@ -10,7 +10,7 @@ <td><input type="text" name="name" value="<% if(name) printhtml(name); %>"></td> </tr> <tr id="full"> - <td><label for="full">Full Name</label></td> + <td><label for="full">Full name</label></td> <td><input type="text" name="full" value="<% if(full) printhtml(full); %>"></td> <td><small>(optional)</small></td> </tr> @@ -22,6 +22,10 @@ <td><label for="confirm">Confirm</label></td> <td><input type="password" name="confirm" value=""></td> </tr> + <tr id="captcha"> + <td><label for="captcha">What is 2 + 7?</label></td> + <td><input type="text" name="captcha" value="<% if(captcha) printhtml(captcha); %>"></td> + </tr> </table> <p>By clicking <i>Create</i>, you confirm</p> <ol> |