mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Move errors to top of reset password
This commit is contained in:
parent
3afc455f3c
commit
0e543a362e
1 changed files with 1 additions and 1 deletions
|
@ -227,6 +227,7 @@ module.exports = React.createClass({
|
||||||
<h3>
|
<h3>
|
||||||
{yourMatrixAccountText}
|
{yourMatrixAccountText}
|
||||||
</h3>
|
</h3>
|
||||||
|
{errorText}
|
||||||
<form onSubmit={this.onSubmitForm}>
|
<form onSubmit={this.onSubmitForm}>
|
||||||
<div className="mx_AuthBody_fieldRow">
|
<div className="mx_AuthBody_fieldRow">
|
||||||
<input className="mx_Login_field" ref="user" type="text"
|
<input className="mx_Login_field" ref="user" type="text"
|
||||||
|
@ -254,7 +255,6 @@ module.exports = React.createClass({
|
||||||
<input className="mx_Login_submit" type="submit" value={_t('Send Reset Email')} />
|
<input className="mx_Login_submit" type="submit" value={_t('Send Reset Email')} />
|
||||||
</form>
|
</form>
|
||||||
{serverConfigSection}
|
{serverConfigSection}
|
||||||
{errorText}
|
|
||||||
<a className="mx_AuthBody_changeFlow" onClick={this.onLoginClick} href="#">
|
<a className="mx_AuthBody_changeFlow" onClick={this.onLoginClick} href="#">
|
||||||
{_t('Sign in instead')}
|
{_t('Sign in instead')}
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue