UX: Add new classes to make user creation more targetable

This commit is contained in:
Robin Ward 2017-12-03 15:03:06 -05:00
parent c8ad89afd4
commit a0da098e6b
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ export default Ember.Mixin.create({
this.set('uniqueUsernameValidation', null); this.set('uniqueUsernameValidation', null);
if (accountUsername === this.get('prefilledUsername')) { if (accountUsername && accountUsername === this.get('prefilledUsername')) {
return InputValidation.create({ return InputValidation.create({
ok: true, ok: true,
reason: I18n.t('user.username.prefilled') reason: I18n.t('user.username.prefilled')

View File

@ -11,14 +11,14 @@
<form> <form>
<table> <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 class="label"><label for='new-account-email'>{{i18n 'user.email.title'}}</label></td>
<td> <td>
{{input type="email" value=accountEmail id="new-account-email" disabled=emailValidated name="email" autofocus="autofocus"}} {{input type="email" value=accountEmail id="new-account-email" disabled=emailValidated name="email" autofocus="autofocus"}}
&nbsp;{{input-tip validation=emailValidation}} &nbsp;{{input-tip validation=emailValidation}}
</td> </td>
</tr> </tr>
<tr class="instructions"> <tr class="instructions create-account-email">
<td></td> <td></td>
<td><label>{{i18n 'user.email.instructions'}}</label></td> <td><label>{{i18n 'user.email.instructions'}}</label></td>
</tr> </tr>