mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-01 15:34:53 +02:00
refactor form and view for add portfolio member
This commit is contained in:
parent
f09627bca6
commit
060f2d5c8a
10 changed files with 115 additions and 110 deletions
|
@ -53,8 +53,8 @@ class AlreadyPortfolioMemberError(InvitationError):
|
|||
class AlreadyPortfolioInvitedError(InvitationError):
|
||||
"""Raised when the user has already been invited to the portfolio."""
|
||||
|
||||
def __init__(self, email):
|
||||
super().__init__(f"{email} has already been invited to this portfolio.")
|
||||
def __init__(self, email, portfolio):
|
||||
super().__init__(f"{email} has already been invited to {portfolio}.")
|
||||
|
||||
|
||||
class MissingEmailError(InvitationError):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue