diff --git a/app/scripts/templates/complete_reset_password.mustache b/app/scripts/templates/complete_reset_password.mustache
index e97bd70fd..112046b3a 100644
--- a/app/scripts/templates/complete_reset_password.mustache
+++ b/app/scripts/templates/complete_reset_password.mustache
@@ -1,7 +1,7 @@
- {{#t}}Please create a new password{{/t}}
+ {{#t}}Reset password{{/t}}
@@ -17,8 +17,7 @@
-
+
-
diff --git a/app/scripts/templates/confirm_reset_password.mustache b/app/scripts/templates/confirm_reset_password.mustache
index cef51afb1..3e8fea40d 100644
--- a/app/scripts/templates/confirm_reset_password.mustache
+++ b/app/scripts/templates/confirm_reset_password.mustache
@@ -1,26 +1,17 @@
- {{#t}}Password Reset Email Sent{{/t}}
+ {{#t}}Reset email sent{{/t}}
-
- {{#t}}Email{{/t}}
-
+
- {{#t}}Your password reset link awates at:{{/t}}
-
- {{email}}.
-
+ {{#t}}A reset link has been sent to:{{/t}}
{{email}}.
-
-
-
diff --git a/app/scripts/templates/reset_password.mustache b/app/scripts/templates/reset_password.mustache
index c7b176d7a..7d3efaa75 100644
--- a/app/scripts/templates/reset_password.mustache
+++ b/app/scripts/templates/reset_password.mustache
@@ -8,27 +8,19 @@
-
-
-
-
diff --git a/app/scripts/templates/reset_password_complete.mustache b/app/scripts/templates/reset_password_complete.mustache
index ffd7ef704..9fb65c1ea 100644
--- a/app/scripts/templates/reset_password_complete.mustache
+++ b/app/scripts/templates/reset_password_complete.mustache
@@ -1,22 +1,17 @@
- {{#t}}Password Reset!{{/t}}
+ {{#t}}Password reset{{/t}}
+
{{#redirectTo}}
-
- {{#t}}Continue to{{/t}} {{ service }} {{#t}}on the Initial Client.{{/t}}
-
+ {{#t}}Continue to{{/t}} {{ service }} {{#t}}on the Initial Client.{{/t}}
Continue
{{/redirectTo}}
-
-
-
diff --git a/app/scripts/views/reset_password.js b/app/scripts/views/reset_password.js
index ccb6da966..aee62774c 100644
--- a/app/scripts/views/reset_password.js
+++ b/app/scripts/views/reset_password.js
@@ -17,13 +17,14 @@ function (_, BaseView, Template, FxaClient, Session) {
className: 'reset_password',
events: {
- 'submit form': 'requestPasswordReset'
+ 'submit form': 'requestPasswordReset',
+ 'keyup input': 'enableButtonWhenValid'
},
requestPasswordReset: function (event) {
event.preventDefault();
- if (! this._validateEmail()) {
+ if (! this.isValid()) {
return;
}
@@ -36,6 +37,10 @@ function (_, BaseView, Template, FxaClient, Session) {
},
+ isValid: function () {
+ return this._validateEmail();
+ },
+
_onRequestResetSuccess: function () {
Session.email = this._getEmail();
router.navigate('confirm_reset_password', { trigger: true });