UX: Add new classes to make user creation more targetable
This commit is contained in:
parent
c8ad89afd4
commit
a0da098e6b
|
@ -25,7 +25,7 @@ export default Ember.Mixin.create({
|
|||
this.set('uniqueUsernameValidation', null);
|
||||
|
||||
|
||||
if (accountUsername === this.get('prefilledUsername')) {
|
||||
if (accountUsername && accountUsername === this.get('prefilledUsername')) {
|
||||
return InputValidation.create({
|
||||
ok: true,
|
||||
reason: I18n.t('user.username.prefilled')
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
<form>
|
||||
<table>
|
||||
|
||||
<tr class="input">
|
||||
<tr class="input create-account-email">
|
||||
<td class="label"><label for='new-account-email'>{{i18n 'user.email.title'}}</label></td>
|
||||
<td>
|
||||
{{input type="email" value=accountEmail id="new-account-email" disabled=emailValidated name="email" autofocus="autofocus"}}
|
||||
{{input-tip validation=emailValidation}}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="instructions">
|
||||
<tr class="instructions create-account-email">
|
||||
<td></td>
|
||||
<td><label>{{i18n 'user.email.instructions'}}</label></td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue