accounts-ui: give type to all input fields

This commit is contained in:
David Greenspan
2012-10-10 00:19:25 -07:00
parent 2b18b89dad
commit da46549d14
3 changed files with 6 additions and 2 deletions

View File

@@ -89,7 +89,7 @@
<label for="configure-login-service-dialog-{{property}}">{{label}}</label>
</td>
<td>
<input id="configure-login-service-dialog-{{property}}" />
<input id="configure-login-service-dialog-{{property}}" type="text" />
</td>
</tr>
{{/each}}

View File

@@ -125,7 +125,7 @@
<div class="login-form">
<div id="forgot-password-email-label-and-input"> {{! XXX we should probably use loginButtonsFormField }}
<label id="forgot-password-email-label" for="forgot-password-email">Email</label>
<input id="forgot-password-email"/>
<input id="forgot-password-email" type="text"/>
</div>
{{> _loginButtonsMessages}}

View File

@@ -272,6 +272,10 @@
Accounts.ui._passwordSignupFields());
};
Template._loginButtonsFormField.inputType = function () {
return this.inputType || "text";
};
//
// loginButtonsChangePassword template