diff accounts/static/js/accounts_code.js @ 905:be233ba7ca31

Reworked registration process. Previous one proved too challenging for some humans. Hopefully made it simpler but still unusual to confuse bots. Increased test coverage also.
author Brian Neal <bgneal@gmail.com>
date Sun, 08 Mar 2015 11:06:07 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/accounts/static/js/accounts_code.js	Sun Mar 08 11:06:07 2015 -0500
@@ -0,0 +1,5 @@
+$(document).ready(function() {
+   $.get('/accounts/register/code/', function(data) {
+      $('#reg-code-block').text(data.code);
+   });
+});