You've already forked snikket-web-portal
Add account data import UI on registration success page
This commit is contained in:
committed by
Jonas Schäfer
parent
3cb8185b1a
commit
32179c72cd
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user