Add account data import UI on registration success page

This commit is contained in:
Matthew Wild
2022-01-12 16:20:44 +00:00
committed by Jonas Schäfer
parent 3cb8185b1a
commit 32179c72cd
5 changed files with 86 additions and 1 deletions

View File

@@ -77,6 +77,16 @@ class ProfileForm(BaseForm):
)
class ImportAccountDataForm(BaseForm):
account_data_file = wtforms.FileField(
_l("Account data")
)
action_upload = wtforms.SubmitField(
_l("Upload"),
)
@bp.route("/")
@client.require_session()
async def index() -> str: