diff mod_register_web/templates/recaptcha.html @ 1227:6015434f0e05

mod_register_web: Move HTML into separate template files
author Kim Alvefur <zash@zash.se>
date Sat, 30 Nov 2013 18:57:54 +0100
parents
children 32604bf33a4c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_register_web/templates/recaptcha.html	Sat Nov 30 18:57:54 2013 +0100
@@ -0,0 +1,11 @@
+<tr>
+  <td colspan="2">
+    <script src="https://www.google.com/recaptcha/api/challenge?k={recaptcha_public_key}" type="text/javascript"></script>
+    <noscript>
+      <iframe frameborder="0" height="300" src="https://www.google.com/recaptcha/api/noscript?k={recaptcha_public_key}{recaptcha_display_error}" width="500"></iframe>
+      <br>
+      <textarea cols="40" name="recaptcha_challenge_field" rows="3"></textarea>
+      <input name="recaptcha_response_field" type="hidden" value="manual_challenge">
+    </noscript>
+  </td>
+</tr>