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 @@ -55,45 +55,6 @@ } render() { - const { inputDisabled } = this.props; - const mainContent = ( -
-
New password
-
-
- -
-
- -
-
-
- ); - - const buttons = ( - - ); - let errorMsg; if (this.state.errorMessage) { errorMsg = ( @@ -101,11 +62,35 @@ ); } + const { inputDisabled } = this.props; return (
- {mainContent} +
+
New password
+
+
+ +
+
+ +
+
+

Please enter your current password to confirm your identity @@ -123,7 +108,14 @@

- {buttons} + {errorMsg}