Use ConfirmationPopover rather than custom form

This commit is contained in:
George Drummond
2019-03-13 11:33:55 -04:00
parent 8ca0e04402
commit c3cb46873e
8 changed files with 42 additions and 17 deletions

View File

@@ -109,8 +109,7 @@ def ko_review(portfolio_id, task_order_id):
methods=["POST"],
)
def resend_invite(portfolio_id, task_order_id, form=None):
form_data = {**http_request.form}
invite_type = form_data["invite_type"][0]
invite_type = http_request.args.get("invite_type")
if invite_type not in OFFICER_INVITATIONS:
raise NotFoundError("invite_type")