summaryrefslogtreecommitdiff
path: root/web-ui/src/account_recovery/page.js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/src/account_recovery/page.js')
-rw-r--r--web-ui/src/account_recovery/page.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/web-ui/src/account_recovery/page.js b/web-ui/src/account_recovery/page.js
index 90a1faa4..d1bcb464 100644
--- a/web-ui/src/account_recovery/page.js
+++ b/web-ui/src/account_recovery/page.js
@@ -17,7 +17,8 @@
import React from 'react'
import { translate } from 'react-i18next'
-import SubmitButton from 'src/common/submit_button'
+import SubmitButton from 'src/common/submit_button/submit_button'
+import InputField from 'src/common/input_field/input_field'
import './page.scss'
@@ -28,10 +29,7 @@ export const Page = ({ t }) => (
<h1>{t('backup-account.title')}</h1>
<p>{t('backup-account.paragraph1')}</p>
<p>{t('backup-account.paragraph2')}</p>
- <div className="field-group">
- <input type="text" name="email" className="email" required />
- <label className="animated-label" htmlFor="email">{t('backup-account.input-label')}</label>
- </div>
+ <InputField name='email' label={t('backup-account.input-label')} />
<SubmitButton buttonText={t('backup-account.button')} />
<div>
<a href="/">