Hook up to button

This commit is contained in:
richard-dds
2018-11-19 16:22:18 -05:00
parent 35150dfa10
commit ae70a551a9
4 changed files with 28 additions and 5 deletions

View File

@@ -53,6 +53,12 @@
confirm_msg="Are you sure? This will send an email to invite the user to join this workspace."
)}}
{% endif %}
{{ ConfirmationButton (
"Remove Workspace Access",
url_for("workspaces.revoke_access", workspace_id=workspace.id, member_id=member.id),
form.csrf_token,
confirm_msg="Are you sure? This will remove this user from the workspace.",
)}}
</div>
</div>
</div>