def _signup_fields_from_invite(invite):
    """ Return the signup form fields derived from the given invite object. """
    return {
        'signup_email': invite.recipient_email,
        'first_name':   invite.recipient_first_name,
        'last_name':    invite.recipient_last_name,
        # Pass the invite_token as a fake 'secret code' value to display to the invited user to
        # make the invitation seem more special and secretive.
        'invite_code':  invite.invite_token
    }