Restructure login form for mobile

This commit is contained in:
Neil Lalonde 2013-09-02 16:02:52 -04:00
parent 1fa6144067
commit 07e6956917
1 changed files with 20 additions and 16 deletions

View File

@ -13,22 +13,26 @@
<form id='login-form' method='post'>
<div>
<table>
<tr>
<td>
<label for='login-account-name'>{{i18n login.username}}&nbsp;</label>
</td>
<td>
{{textField value=loginName placeholderKey="login.email_placeholder" id="login-account-name" autocorrect="off" autocapitalize="off" autofocus="autofocus"}}
</td>
<tr>
<td>
<label for='login-account-password'>{{i18n login.password}}&nbsp;</label>
</td>
<td>
{{textField value=loginPassword type="password" id="login-account-password"}} &nbsp;
<a id="forgot-password-link" {{action showForgotPassword}}>{{i18n forgot_password.action}}</a>
</td>
</tr>
<tr>
<td>
<label for='login-account-name'>{{i18n login.username}}&nbsp;</label>
</td>
<td>
{{textField value=loginName placeholderKey="login.email_placeholder" id="login-account-name" autocorrect="off" autocapitalize="off" autofocus="autofocus"}}
</td>
<td></td>
</tr>
<tr>
<td>
<label for='login-account-password'>{{i18n login.password}}&nbsp;</label>
</td>
<td>
{{textField value=loginPassword type="password" id="login-account-password"}} &nbsp;
</td>
<td>
<a id="forgot-password-link" {{action showForgotPassword}}>{{i18n forgot_password.action}}</a>
</td>
</tr>
</table>
</div>
</form>