diff options
author | 2022-05-06 19:06:00 -0500 | |
---|---|---|
committer | 2022-05-06 19:06:00 -0500 | |
commit | 4df01bf76dd0c19d29587571131555639bf2b844 (patch) | |
tree | f19565f06da9d6c796bd3962d6f28a4fcff0da63 /src/components/settings/user/EditUserForm.js | |
parent | Regenerate i18n file (diff) | |
download | ferdium-app-4df01bf76dd0c19d29587571131555639bf2b844.tar.gz ferdium-app-4df01bf76dd0c19d29587571131555639bf2b844.tar.zst ferdium-app-4df01bf76dd0c19d29587571131555639bf2b844.zip |
Use components defined in the codebase; Extract some text for i18n purposes.
Diffstat (limited to 'src/components/settings/user/EditUserForm.js')
-rw-r--r-- | src/components/settings/user/EditUserForm.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/settings/user/EditUserForm.js b/src/components/settings/user/EditUserForm.js index 95498d9bb..4d101730f 100644 --- a/src/components/settings/user/EditUserForm.js +++ b/src/components/settings/user/EditUserForm.js | |||
@@ -9,6 +9,7 @@ import Form from '../../../lib/Form'; | |||
9 | import Button from '../../ui/Button'; | 9 | import Button from '../../ui/Button'; |
10 | import Radio from '../../ui/Radio'; | 10 | import Radio from '../../ui/Radio'; |
11 | import Infobox from '../../ui/Infobox'; | 11 | import Infobox from '../../ui/Infobox'; |
12 | import { H2 } from '../../ui/headline'; | ||
12 | 13 | ||
13 | const messages = defineMessages({ | 14 | const messages = defineMessages({ |
14 | headline: { | 15 | headline: { |
@@ -85,7 +86,7 @@ class EditUserForm extends Component { | |||
85 | {intl.formatMessage(messages.successInfo)} | 86 | {intl.formatMessage(messages.successInfo)} |
86 | </Infobox> | 87 | </Infobox> |
87 | )} | 88 | )} |
88 | <h2>{intl.formatMessage(messages.headlineAccount)}</h2> | 89 | <H2>{intl.formatMessage(messages.headlineAccount)}</H2> |
89 | <div className="grid__row"> | 90 | <div className="grid__row"> |
90 | <Input {...form.$('firstname').bind()} focus /> | 91 | <Input {...form.$('firstname').bind()} focus /> |
91 | <Input {...form.$('lastname').bind()} /> | 92 | <Input {...form.$('lastname').bind()} /> |
@@ -95,7 +96,7 @@ class EditUserForm extends Component { | |||
95 | {form.$('accountType').value === 'company' && ( | 96 | {form.$('accountType').value === 'company' && ( |
96 | <Input field={form.$('organization')} /> | 97 | <Input field={form.$('organization')} /> |
97 | )} | 98 | )} |
98 | <h2>{intl.formatMessage(messages.headlinePassword)}</h2> | 99 | <H2>{intl.formatMessage(messages.headlinePassword)}</H2> |
99 | <Input {...form.$('oldPassword').bind()} showPasswordToggle /> | 100 | <Input {...form.$('oldPassword').bind()} showPasswordToggle /> |
100 | <Input | 101 | <Input |
101 | {...form.$('newPassword').bind()} | 102 | {...form.$('newPassword').bind()} |