fixed invite link system

This commit is contained in:
vabene1111
2021-06-05 19:01:05 +02:00
parent a0a673a0c9
commit 913e896906
2 changed files with 5 additions and 6 deletions

View File

@ -143,9 +143,9 @@ class InviteLinkTable(tables.Table):
link = tables.TemplateColumn(
"<a href='{% url 'view_signup' record.uuid %}' >" + _('Link') + "</a>"
)
delete = tables.TemplateColumn(
"<a href='{% url 'delete_invite_link' record.id %}' >" + _('Delete') + "</a>" # noqa: E501
)
# delete = tables.TemplateColumn(
# "<a href='{% url 'delete_invite_link' record.pk %}' >" + _('Delete') + "</a>"
# )
class Meta:
model = InviteLink