You are here

recaptcha-widget-noscript.html.twig in reCAPTCHA 8.2

Same filename and directory in other branches
  1. 8.3 templates/recaptcha-widget-noscript.html.twig

recaptcha-widget-noscript.tpl.php Default theme implementation to present the reCAPTCHA noscript code.

Available variables:

  • sitekey: Google web service site key.
  • language: Current site language code.
  • url: Google web service API url.

File

templates/recaptcha-widget-noscript.html.twig
View source
  1. {#
  2. /**
  3. * @file recaptcha-widget-noscript.tpl.php
  4. * Default theme implementation to present the reCAPTCHA noscript code.
  5. *
  6. * Available variables:
  7. * - sitekey: Google web service site key.
  8. * - language: Current site language code.
  9. * - url: Google web service API url.
  10. *
  11. * @see template_preprocess()
  12. * @see template_preprocess_recaptcha_widget_noscript()
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. <noscript>
  18. <div style="width: 302px; height: 352px;">
  19. <div style="width: 302px; height: 352px; position: relative;">
  20. <div style="width: 302px; height: 352px; position: absolute;">
  21. <iframe src="{{ url }}" frameborder="0" scrolling="no" style="width: 302px; height:352px; border-style: none;"></iframe>
  22. </div>
  23. <div style="width: 250px; height: 80px; position: absolute; border-style: none; bottom: 21px; left: 25px; margin: 0px; padding: 0px; right: 25px;">
  24. <textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 80px; border: 1px solid #c1c1c1; margin: 0px; padding: 0px; resize: none;" value=""></textarea>
  25. </div>
  26. </div>
  27. </div>
  28. </noscript>