diff --git a/create_account.html b/create_account.html index f64ff106d5..dd0ed7f9f9 100644 --- a/create_account.html +++ b/create_account.html @@ -2,7 +2,7 @@

Enroll in 6.002 Circuits & Electronics

-
+
<% if 'error' in locals(): e = error %>
@@ -67,6 +67,6 @@ - +
diff --git a/index.html b/index.html index 8d73c3ad00..7b6c327ad4 100644 --- a/index.html +++ b/index.html @@ -103,7 +103,8 @@ $(function() { /* Handles when the user hits 'enroll'. Grabs form data. Does AJAX. Either shows error, or shows success. */ - $('#create_account_button').click(function() { + $('form#enroll_form').submit(function(e) { + e.preventDefault(); var submit_data={}; $.each($("[id^=ca_]"), function(index,value){ submit_data[value.name]=value.value; diff --git a/login.html b/login.html index eea9d7f26a..601df0a4c6 100644 --- a/login.html +++ b/login.html @@ -3,7 +3,7 @@ ${ error }

Log in to MITx

-
+
  1. @@ -21,7 +21,7 @@ ${ error }
- +
diff --git a/marketing.html b/marketing.html index c0e9f51590..dc712f008a 100644 --- a/marketing.html +++ b/marketing.html @@ -19,11 +19,11 @@ - + <%block name="headextra"/> @@ -66,14 +66,15 @@
<%include file="login.html" />
-
<%include file="password_reset_form.html" />
+
<%include file="registration/password_reset_form.html" />