Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: appengine/monorail/templates/framework/captcha-field.ezt

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/monorail/templates/framework/captcha-field.ezt
diff --git a/appengine/monorail/templates/framework/captcha-field.ezt b/appengine/monorail/templates/framework/captcha-field.ezt
new file mode 100644
index 0000000000000000000000000000000000000000..ed36e4be6c09af77caac97ca7df0137b11fb345c
--- /dev/null
+++ b/appengine/monorail/templates/framework/captcha-field.ezt
@@ -0,0 +1,5 @@
+[if-any errors.captcha]
+ <div class="fielderror">[errors.captcha]</div>
+[end]
+<script src="https://www.google.com/recaptcha/api.js" async defer nonce="[nonce]"></script>
+<div class="g-recaptcha" data-sitekey="[recaptcha_public_key]"></div>

Powered by Google App Engine
This is Rietveld 408576698