diff options
author | Tayane Fernandes <tayane.rmf@gmail.com> | 2017-03-15 18:50:49 -0300 |
---|---|---|
committer | Tayane Fernandes <tayane.rmf@gmail.com> | 2017-03-16 10:28:44 -0300 |
commit | 1e30557a74942bc0be71e55c7e6a25093f274d74 (patch) | |
tree | 67a6f0dd7578cb4102a36fc2dd55b06adbfb8a76 /web-ui/src | |
parent | 772c5cbb72df2be9d16c91d3c030ab3ac5e7cf2c (diff) |
[#971] Redirect to inbox after confirmation
Diffstat (limited to 'web-ui/src')
-rw-r--r-- | web-ui/src/backup_account/backup_email/backup_email.scss | 14 | ||||
-rw-r--r-- | web-ui/src/backup_account/confirmation/confirmation.js | 4 |
2 files changed, 10 insertions, 8 deletions
diff --git a/web-ui/src/backup_account/backup_email/backup_email.scss b/web-ui/src/backup_account/backup_email/backup_email.scss index a98ef8be..af420278 100644 --- a/web-ui/src/backup_account/backup_email/backup_email.scss +++ b/web-ui/src/backup_account/backup_email/backup_email.scss @@ -56,15 +56,15 @@ form { padding: 3em; align-items: flex-start; flex-direction: row; - } - form { - margin-left: 2.5em; - min-height: 492px; + form { + margin-left: 2.5em; + min-height: 492px; - .input-field-group, .submit-button, .link-content { - width: 300px; - align-self: flex-start; + .input-field-group, .submit-button, .link-content { + width: 300px; + align-self: flex-start; + } } } diff --git a/web-ui/src/backup_account/confirmation/confirmation.js b/web-ui/src/backup_account/confirmation/confirmation.js index 851c3d95..41637dab 100644 --- a/web-ui/src/backup_account/confirmation/confirmation.js +++ b/web-ui/src/backup_account/confirmation/confirmation.js @@ -26,7 +26,9 @@ export const Confirmation = ({ t }) => ( <h1>{t('backup-account.confirmation.title1')} <br /> {t('backup-account.confirmation.title2')}</h1> <p>{t('backup-account.confirmation.paragraph')}</p> <img src='/public/images/sent-mail.svg' alt='Sent mail' /> - <SubmitButton buttonText={t('backup-account.confirmation.button')} /> + <form action='/'> + <SubmitButton buttonText={t('backup-account.confirmation.button')} type='submit' /> + </form> <div className='link-content'> <a href='/backup-account' className='link'> <i className='fa fa-angle-left' aria-hidden='true' /> |