Merge pull request #3411 from novaugust/signup-password

Rebind password to password input on signup page
This commit is contained in:
Hannah Wolfe 2014-07-27 19:36:54 +01:00
commit f372ecddf0
2 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,6 @@ var SignupRoute = Ember.Route.extend(styleBody, loadingIndicator, {
email = tokenText.split('|')[1];
controller.token = params.token;
controller.email = email;
controller.name = email.substring(0, email.indexOf('@'));
}
});

View File

@ -12,12 +12,12 @@
</div>
<div class="form-group">
<label for="name">Full Name</label>
{{input type="text" name="name" autofocus="autofocus" autocorrect="off" value="" }}
{{input type="text" name="name" autofocus="autofocus" autocorrect="off" value=name }}
<p>The name that you will sign your posts with</p>
</div>
<div class="form-group">
<label for="password">Password</label>
{{input type="password" name="password" autofocus="autofocus" autocorrect="off" value="" }}
{{input type="password" name="password" autofocus="autofocus" autocorrect="off" value=password }}
<p>Must be at least 8 characters</p>
</div>
<footer>