diff --git a/web/settings/password-change-modal.js b/web/settings/password-change-modal.js --- a/web/settings/password-change-modal.js +++ b/web/settings/password-change-modal.js @@ -65,51 +65,6 @@ } render() { - const { inputDisabled } = this.props; - const mainContent = ( -
-
-
Username
-
{this.username}
-
-
-
New password
-
-
- -
-
- -
-
-
-
- ); - - const buttons = ( - - ); - let errorMsg; if (this.state.errorMessage) { errorMsg = ( @@ -117,31 +72,68 @@ ); } + const { inputDisabled } = this.props; return (
- {mainContent} -
-

- Please enter your current password to confirm your identity -

-
Current password
-
- +
+
Username
+
{this.username}
+
+
+
New password
+
+
+ +
+
+ +
+
+
+
+

+ Please enter your current password to confirm your identity +

+
Current password
+
+ +
+
+
+ + {errorMsg}
-
- {buttons} - {errorMsg} -